Skip to content

Commit

Permalink
Force later setuptools in Dockerfile
Browse files Browse the repository at this point in the history
Error when installing fuzzy 'setuptools==58.1.0 is used in combination with setuptools-scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools-scm requires setuptools>=61

Suggested workaround if applicable:
 - migrating from the deprecated setup_requires mechanism to pep517/518
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools'
  • Loading branch information
martinburchell committed Feb 27, 2025
1 parent 60a2be0 commit af95903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/dockerfiles/crate.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ RUN echo "======================================================================
&& python3 -m venv /crate/venv \
&& echo "- Upgrading pip within virtual environment..." \
&& "$CRATE_VENV_BIN/python3" -m pip install --upgrade pip \
&& "$CRATE_VENV_BIN/python3" -m pip install 'setuptools>=61' \
&& echo "- Installing wheel within virtual environment..." \
&& "$CRATE_VENV_BIN/pip" install wheel==0.35.1 \
&& echo "- Installing CRATE (crate_anon, from source) and Python database drivers..." \
Expand Down

0 comments on commit af95903

Please sign in to comment.