Skip to content

Commit 7530949

Browse files
author
Elod Illes
committed
[CI][stable-only] Workaround for missing pkg_resources
With recent virtualenv release (that bundles setuptools in it) tox jobs started to fail with 'missing pkg_resources module' errors. Since this is an old branch, where we have only python version <= 3.11 in gate jobs, it is enough to cap virtualenv to fix the gate. Change-Id: If10ce13899edaf6dc1d5798aee17842e54939bc7 Signed-off-by: Elod Illes <elod.illes@est.tech> (cherry picked from commit dd8c061)
1 parent eaa65f0 commit 7530949

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[tox]
22
minversion = 3.18.0
33
envlist = py3,functional,pep8
4+
# NOTE(elod.illes): latest virtualenv bundles setuptools 82.0.0, which
5+
# dropped pkg_resources module source from the package, which is used
6+
# in nova and other packages, thus virtualenv needs to be pinned to fix
7+
# the gate.
8+
requires =
9+
virtualenv<20.37.0
410

511
[testenv]
612
usedevelop = True

0 commit comments

Comments
 (0)