diff --git a/backend/requirements.txt b/backend/requirements.txt index cb14b12d..3a1bf9b0 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -8,5 +8,6 @@ drf-yasg==1.21.7 gunicorn==23.0.0 parsepatch==0.1.3 psycopg2-binary==2.9.9 +setuptools==74.1.2 sqlparse==0.5.1 whitenoise==6.7.0 diff --git a/bot/docker/Dockerfile b/bot/docker/Dockerfile index f5ef6eae..53f9e8c6 100644 --- a/bot/docker/Dockerfile +++ b/bot/docker/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.12.5-slim +RUN pip install setuptools==74.1.2 --disable-pip-version-check --no-cache-dir --quiet + ADD tools /src/tools RUN cd /src/tools && python setup.py install diff --git a/bot/requirements.txt b/bot/requirements.txt index 1591ae92..bbe7b233 100644 --- a/bot/requirements.txt +++ b/bot/requirements.txt @@ -3,3 +3,4 @@ influxdb==5.3.2 libmozdata==0.2.7 python-hglib==2.6.2 pyyaml==6.0.2 +setuptools==74.1.2 diff --git a/events/docker/Dockerfile b/events/docker/Dockerfile index 0f79dad5..cca64b8c 100644 --- a/events/docker/Dockerfile +++ b/events/docker/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.12.5-slim +RUN pip install setuptools==74.1.2 --disable-pip-version-check --no-cache-dir --quiet + ADD tools /src/tools ADD events /src/events diff --git a/pyproject.toml b/pyproject.toml index d03db489..6d038b9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +[build-system] +requires = ["setuptools==74.1.2", "setuptools-scm==8.1.0"] + [tool.ruff] [tool.ruff.lint]