diff --git a/tox.ini b/tox.ini index bc7174c7e..e526977b4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,9 @@ [tox] -minversion = 3.18.0 +minversion = 4.4.0 envlist = py3,pep8 [testenv] +constrain_package_deps = true setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1 LANGUAGE=en_US @@ -29,6 +30,7 @@ deps = flake8-import-order>=0.17.1 # LGPLv3 pycodestyle>=2.0.0,<3.0.0 # MIT Pygments>=2.2.0 # BSD + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} commands = flake8 {posargs} doc8 doc/source CONTRIBUTING.rst README.rst