tox: Use allowlist_externals instead of whitelist_externals
whitelist_externals is now deprecated, use allowlist_externals instead. see[0] [0]: https://tox.readthedocs.io/en/latest/config.html follow: https://review.opendev.org/c/openstack/kolla-ansible/+/791928 Change-Id: I511fa599f43c5376f841ec6d03e272243aaa2ba4
This commit is contained in:
parent
a93f171da3
commit
fd49c3d6fe
8
tox.ini
8
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.1
|
minversion = 3.18
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = pep8,py38
|
envlist = pep8,py38
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
@ -7,7 +7,7 @@ ignore_basepython_conflict = True
|
|||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
usedevelop=True
|
usedevelop=True
|
||||||
whitelist_externals = find
|
allowlist_externals = find
|
||||||
rm
|
rm
|
||||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
@ -71,14 +71,14 @@ commands =
|
|||||||
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
whitelist_externals = make
|
allowlist_externals = make
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
|
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
|
||||||
make -C doc/build/pdf
|
make -C doc/build/pdf
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
whitelist_externals = which
|
allowlist_externals = which
|
||||||
commands=
|
commands=
|
||||||
oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf
|
oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user