From 99d897bdd41e6d8a0aae4440224a399671a7899d Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Mon, 26 Dec 2022 21:11:59 +0000 Subject: [PATCH] Update tox.ini to work with tox 4 This change will allow this repo to pass zuul now that this has merged: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Partial-Bug: #2000399 Signed-off-by: Al Bailey Change-Id: I53cf7083fa3b80c96d56619b4e9bba81ea26bc87 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 0e42de60..86d94219 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ deps = -r{toxinidir}/test-requirements.txt [testenv:linters] basepython = python3 -whitelist_externals = bash +allowlist_externals = bash # Bashate warnings # E001 Trailing Whitespace # E002 Tab indents @@ -59,7 +59,7 @@ basepython = python3 commands = {posargs} [testenv:unit-tests] -whitelist_externals = bash +allowlist_externals = bash basepython = python3 setenv = PYTHON3=python commands =