Skip to content

Commit

Permalink
build(docker): pin setuptools 70 (reanahub#102)
Browse files Browse the repository at this point in the history
Pin `setuptools` to the maximum version of 70 to allow working on Ubuntu
20.04 LTS based environments. (New versions of `setuptools` are not
compatible.)

Note that this fix is necessary only for the `maint-0.9` branches and
the REANA 0.9 release series. In `master` we have switched to Ubuntu
24.04 LTS based environments and Python 3.12 and no pinning is necessary
there.
  • Loading branch information
tiborsimko committed Sep 3, 2024
1 parent 4b00c52 commit b27c9cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install --upgrade pip 'setuptools<65.6' py wheel
pip install --upgrade pip 'setuptools<71' py wheel
pip install -e .[all]
- name: Run Sphinx documentation with doctests
Expand All @@ -162,7 +162,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install --upgrade pip 'setuptools<65.6' py
pip install --upgrade pip 'setuptools<71' py
pip install twine wheel
pip install -e .[all]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN apt-get update -y && \
libxrootd-client-dev \
xrootd-client) \
fi && \
pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir --upgrade pip 'setuptools<71' && \
pip install --no-cache-dir -r /code/requirements.txt && \
apt-get remove -y \
cmake \
Expand Down

0 comments on commit b27c9cf

Please sign in to comment.