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: Iceb323a8b7a4b6ec8af81cd1b07c8b98d1e4b3f2
This commit is contained in:
parent
b8fb4fb211
commit
62cff73857
8
tox.ini
8
tox.ini
|
@ -16,7 +16,7 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
# Ignore errors in included vendor code that we don't control.
|
# Ignore errors in included vendor code that we don't control.
|
||||||
#bashate ignore
|
#bashate ignore
|
||||||
#E006 Line too long
|
#E006 Line too long
|
||||||
|
@ -109,7 +109,7 @@ deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
@ -117,7 +117,7 @@ deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build
|
rm -rf releasenotes/build
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
reno
|
reno
|
||||||
|
|
||||||
|
@ -130,5 +130,5 @@ commands = reno new {posargs}
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = cat
|
allowlist_externals = cat
|
||||||
commands = cat /etc/group
|
commands = cat /etc/group
|
||||||
|
|
Loading…
Reference in New Issue