diff --git a/tox.ini b/tox.ini index 5bf028768b85..1e77bfed7b3c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,15 @@ [tox] -minversion = 3.1.1 +minversion = 3.2.0 envlist = py{27,35},functional,pep8 skipsdist = True # Automatic envs (pyXX) will use the python version appropriate to that # env and ignore basepython inherited from [testenv]. That's what we # want, and we don't need to be warned about it. ignore_basepython_conflict = True +# 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] basepython = python3