Skip to content

Commit 8d0732d

Browse files
committed
ci(python): pin setuptools below 81 (#148)
Pin setuptools<81 in CI workflows and ReadTheDocs configuration. This is because the recent setuptools 81.0.0 upgrade removed the pkg_resources module that is needed at runtime by some dependencies.
1 parent d9d0d49 commit 8d0732d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
134134
- name: Install Python dependencies
135135
run: |
136-
pip install --upgrade pip setuptools py
136+
pip install --upgrade pip 'setuptools<81' py
137137
pip install -e .[all]
138138
139139
- name: Run Sphinx documentation with doctests
@@ -156,7 +156,7 @@ jobs:
156156

157157
- name: Install Python dependencies
158158
run: |
159-
pip install --upgrade pip setuptools py
159+
pip install --upgrade pip 'setuptools<81' py
160160
pip install twine wheel
161161
pip install -e .[all]
162162

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
# REANA is free software; you can redistribute it and/or modify it
55
# under the terms of the MIT License; see LICENSE file for more details.
66

7+
setuptools<81
78
-e .[all]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ envlist =
1818
deps =
1919
pytest
2020
pytest-cov
21+
setuptools<81
2122
commands =
2223
pytest {posargs}
2324
package =

0 commit comments

Comments
 (0)