From 7f9b9cca480a6a2c0d30cee988de2315c8cc6685 Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Mon, 29 Jul 2024 09:19:11 +0200 Subject: [PATCH] fix(build): fix python build error with temporary option for pip For more info, see the issue in setuptools https://github.com/pypa/setuptools/issues/4519 This commit also removes the obsolete `--disable-pip-version-check` option. --- django/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/Dockerfile b/django/Dockerfile index f0f56400e..375065b44 100644 --- a/django/Dockerfile +++ b/django/Dockerfile @@ -59,7 +59,8 @@ WORKDIR $APP_HOME ARG REQUIREMENTS=requirements.txt COPY requirements.txt requirements-dev.txt $APP_HOME/ -RUN pip install --no-cache-dir --upgrade -r $REQUIREMENTS --disable-pip-version-check +# TODO: Remove --no-build-isolation as soon as https://github.com/pypa/setuptools/issues/4519 is fixed! +RUN pip install --no-cache-dir --upgrade -r $REQUIREMENTS --no-build-isolation COPY . $APP_HOME