Limit virtualenv<20.37.0,tox<4.44.0 to have "pkg_resources"
Change-Id: I802a6ff8aa3922bb0934682c6ab6366d7b97e76a
Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>
(cherry picked from commit 49c0c369f9)
This commit is contained in:
1 parent
36db6ddb6a
commit
9d6bd25c9e
1 file changed
+9
-1
@@ -2,6 +2,13 @@
|
||||
envlist = py39,pep8,pylint
|
||||
minversion = 3.18.0
|
||||
ignore_basepython_conflict = True
|
||||
# NOTE(elod.illes): latest virtualenv bundles setuptools 82.0.0, which
|
||||
# dropped pkg_resources module source from the package, which is used
|
||||
# in pbr-6.1.1, thus virtualenv needs to be pinned to fix the gate.
|
||||
# also tox needs to be pinned to handle missing packaging.pylock
|
||||
requires =
|
||||
tox<4.44.0
|
||||
virtualenv<20.37.0
|
||||
|
||||
[testenv]
|
||||
basepython = {env:TOX_PYTHON:python3}
|
||||
@@ -88,7 +95,7 @@ allowlist_externals =
|
||||
cp
|
||||
sudo
|
||||
commands =
|
||||
{toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
|
||||
bash {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:releasenotes]
|
||||
@@ -129,6 +136,7 @@ deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.2}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
setuptools<82
|
||||
allowlist_externals =
|
||||
rm
|
||||
commands =
|
||||
|
||||
Reference in new issue
Block a user