diff --git a/tox.ini b/tox.ini index 5fb49983c7..1c28d1832f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] -minversion = 2.0 -skipsdist = True +minversion = 3.18.0 envlist = pep8,py,tht +ignore_base_python_conflict = True [testenv] basepython = python3 @@ -21,7 +21,7 @@ setenv = commands = {posargs} [testenv:pep8] -whitelist_externals = +allowlist_externals = bash commands = python ./tools/process-templates.py @@ -68,7 +68,7 @@ commands = python ./tools/process-templates.py -c [testenv:releasenotes] deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} -r{toxinidir}/doc/requirements.txt -whitelist_externals = +allowlist_externals = bash commands = bash -c tools/releasenotes_tox.sh @@ -89,7 +89,7 @@ commands = python ./tripleo_heat_templates/environment_generator.py sample-env-generator/ [testenv:genroledata] -whitelist_externals = +allowlist_externals = bash commands = bash -c tools/roles-data-generate-samples.sh @@ -113,7 +113,7 @@ passenv = deps = -r{toxinidir}/test-ansible-requirements.txt -r{toxinidir}/test-requirements.txt -whitelist_externals = +allowlist_externals = bash commands_pre = ansible-galaxy collection install ansible.posix containers.podman