From 58a7d54a3388842ef65a8f1e87713badd92131b6 Mon Sep 17 00:00:00 2001 From: Martin Burchell Date: Thu, 27 Feb 2025 07:08:59 +0000 Subject: [PATCH] Force later setuptools in Dockerfile 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' --- docker/dockerfiles/crate.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/dockerfiles/crate.Dockerfile b/docker/dockerfiles/crate.Dockerfile index 66201306..dc7f5b4b 100644 --- a/docker/dockerfiles/crate.Dockerfile +++ b/docker/dockerfiles/crate.Dockerfile @@ -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..." \