From 318e95ee3f6a4649ae43ffa61522b039bd7d63a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Fri, 17 Feb 2023 10:36:32 +0100 Subject: [PATCH] Fix issues related to tox4 Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: I52cfda7d2010c750609dd97033ba95ecea6b774c --- tox.ini | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 1a11ecb9..e5f5af8f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,9 @@ [tox] minversion = 3.2.0 envlist = py3,pep8 -ignore_basepython_conflict = True [testenv] -basepython = python3 -whitelist_externals = +allowlist_externals = find deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} @@ -32,7 +30,7 @@ commands = commands = {posargs} [testenv:docs] -whitelist_externals = rm +allowlist_externals = rm deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt @@ -59,7 +57,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build import_exceptions = [testenv:releasenotes] -whitelist_externals = +allowlist_externals = rm deps = {[testenv:docs]deps} commands =