Skip to content

Commit 77185b9

Browse files
committed
[stable-only] Pin setuptools <82
This should resolve unit test failures. Change-Id: Id9739630e0ce412ea4027e64b0e27db81159ad14 Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
1 parent 769a1bd commit 77185b9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ setenv =
2727
deps =
2828
-r{toxinidir}/test-requirements.txt
2929
-r{toxinidir}/requirements.txt
30+
# we need pkg_resources because of os-win
31+
setuptools<82
3032

3133
# By default stestr will set concurrency
3234
# to ncpu, to specify something else use
@@ -108,6 +110,9 @@ install_command = {[testenv:py3]install_command}
108110
deps = -r{toxinidir}/requirements.txt
109111
-r{toxinidir}/test-requirements.txt
110112
pylint==3.0.2
113+
# we need pkg_resources because of os-win
114+
setuptools<82
115+
111116
commands =
112117
{toxinidir}/tools/coding-checks.sh --pylint {posargs:all}
113118

@@ -156,6 +161,8 @@ allowlist_externals = rm
156161
deps =
157162
doc8
158163
-r{toxinidir}/doc/requirements.txt
164+
# we need pkg_resources because of os-win
165+
setuptools<82
159166
commands =
160167
doc8
161168
rm -rf doc/source/contributor/api doc/build/html doc/build/doctrees

0 commit comments

Comments
 (0)