Skip to content

Commit

Permalink
fix: pin setuptools to version 57 (quay#885)
Browse files Browse the repository at this point in the history
As to avoid breaking the installation of our requirements.
See vlasovskikh/funcparserlib#69 for details.
  • Loading branch information
flavianmissi committed Sep 10, 2021
1 parent 7699eeb commit d3809b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ COPY requirements.txt .
# flag.
RUN set -ex\
; python3 -m pip install --no-cache-dir --quiet\
--upgrade setuptools pip\
--upgrade setuptools==57.5.0 pip\
; python3 -m pip install --no-cache-dir --progress-bar off\
--user --requirement requirements.txt --no-cache\
;
Expand Down
2 changes: 1 addition & 1 deletion local-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN chmod +x /usr/local/bin/dumb-init
# keep this last, will allow for fastest container rebuilds.
COPY requirements.txt .
RUN alternatives --set python /usr/bin/python3 && \
python -m pip install --no-cache-dir --upgrade setuptools pip && \
python -m pip install --no-cache-dir --upgrade setuptools==57.5.0 pip && \
python -m pip install --no-cache-dir -r requirements.txt --no-cache && \
python -m pip freeze

Expand Down

0 comments on commit d3809b2

Please sign in to comment.