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 <al.bailey@windriver.com>
Change-Id: Ic23ceb69bc078839c194a629717654bfd3acf002
This commit is contained in:
Al Bailey 2022-12-27 00:31:15 +00:00
parent ab4590edd9
commit ceec5991db
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ distshare={toxworkdir}/.tox/distshare
sitepackages = False sitepackages = False
# tox is silly... these need to be separated by a newline.... # tox is silly... these need to be separated by a newline....
whitelist_externals = bash allowlist_externals = bash
find find
install_command = pip install \ install_command = pip install \

View File

@ -15,7 +15,7 @@ setenv =
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
whitelist_externals = allowlist_externals =
bash bash
[testenv:bashate] [testenv:bashate]