diff --git a/tox.ini b/tox.ini index eed919b76..3c6c4e80a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = py39,py38,py36,pep8,docs -minversion = 3.1.1 +minversion = 3.18.0 skipsdist = True ignore_basepython_conflict = True @@ -18,9 +18,7 @@ setenv = VIRTUAL_ENV={envdir} TOX_CONSTRAINTS_FILE={toxinidir}/upper-constraints.txt passenv = TOX_CONSTRAINTS_FILE usedevelop = True -whitelist_externals = rm -install_command = - pip install -U {opts} {packages} +allowlist_externals = rm deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt @@ -82,7 +80,7 @@ commands = flake8 doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst TESTING.rst tacker-db-manage check_migration -whitelist_externals = bash +allowlist_externals = bash [testenv:i18n] commands = python ./tools/check_i18n.py ./tacker @@ -99,7 +97,7 @@ deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html -whitelist_externals = rm +allowlist_externals = rm [testenv:releasenotes] deps = -r{toxinidir}/doc/requirements.txt