Skip to content

Commit

Permalink
fix(build): fix python build error with temporary option for pip
Browse files Browse the repository at this point in the history
For more info, see the issue in setuptools pypa/setuptools#4519

This commit also removes the obsolete `--disable-pip-version-check` option.
  • Loading branch information
anehx committed Jul 29, 2024
1 parent f0759c5 commit 7f9b9cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f9b9cc

Please sign in to comment.