Skip to content

Commit

Permalink
ci(actions): pin setuptools 70 (reanahub#728)
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 2c99c5d commit 0a4bcc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:

- name: Install Python dependencies
run: |
pip install --upgrade pip setuptools py
pip install --upgrade pip 'setuptools<71' py
pip install -e .[all]
- name: Verify reana client commands list
Expand All @@ -160,7 +160,7 @@ jobs:

- name: Install Python dependencies
run: |
pip install --upgrade pip setuptools py
pip install --upgrade pip 'setuptools<71' py
pip install -e .[all]
- name: Verify reana client api docs
Expand All @@ -178,7 +178,7 @@ jobs:

- name: Install Python dependencies
run: |
pip install --upgrade pip setuptools py
pip install --upgrade pip 'setuptools<71' py
pip install -e .[all]
- name: Run Sphinx documentation with doctests
Expand All @@ -200,7 +200,7 @@ jobs:

- name: Setup requirements builder
run: |
pip install --upgrade pip setuptools py
pip install --upgrade pip 'setuptools<71' py
pip install wheel
pip install requirements-builder
if [[ ${{ matrix.testenv }} == lowest ]]; then
Expand Down

0 comments on commit 0a4bcc7

Please sign in to comment.