diff --git a/tox.ini b/tox.ini index 010d25f8ac26..98131179c288 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,12 @@ [tox] minversion = 3.18.0 envlist = py3,functional,pep8 +# NOTE(elod.illes): latest virtualenv bundles setuptools 82.0.0, which +# dropped pkg_resources module source from the package, which is used +# in nova and other packages, thus virtualenv needs to be pinned to fix +# the gate. +requires = + virtualenv<20.37.0 [testenv] usedevelop = True