diff --git a/tox.ini b/tox.ini index 084febc461f..7897aac4dde 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,12 @@ [tox] -minversion = 2.5 +minversion = 3.2.0 skipsdist = True skip_missing_interpreters = true envlist = py37,py27,compliance,pep8 +# Pin the virtualenv and therefore the setuptools version used for the env +# creation. This results in a new tox being installed in .tox/.tox virtualenv +# and the tox on the host will delegate all the calls to the tox in that env. +requires = virtualenv<20.8 [testenv] setenv = VIRTUAL_ENV={envdir}