From f7af758c33de1ac60774c2008cb550a091a8bd75 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 12 Dec 2022 09:26:48 -0800 Subject: [PATCH] Update tox.ini for tox v4 This convers whitelist_externals to allowlist_externals to make tox v4 happy. Note that this may not be a complete fix for tox v4 as project-config isn't tested speculatively which makes it harder to find all the cases. Change-Id: Ia44a2ef83cdc57d0bb74c72ea5c95078b53ccaec --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index a5fde2e0bc..1bbd9639c1 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,11 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY basepython = python3 [testenv:linters] -whitelist_externals = bash +allowlist_externals = + bash + {toxinidir}/tools/ansible-lint-roles-cache.sh + {toxinidir}/tools/run-bashate.sh + {toxinidir}/tools/zuul-projects-checks.py setenv = # NOTE(ianw) : In the gate job openstack-zuul-jobs-linters this is # overridden to the Zuul checkouts of the projects. Locally, @@ -110,7 +114,7 @@ commands = {toxinidir}/tools/nodepool-validate.sh [testenv:add-projects-to-main] -whitelist_externals = +allowlist_externals = git deps = ruamel.yaml