aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2021-05-18 20:01:47 +0800
committerwu.chunyang <wuchunyang@yovole.com>2021-06-22 01:06:38 +0000
commitfd49c3d6fe90b05d2181fe1f18481620b32506c3 (patch)
treea6f990973e0db20530f1b13da1813d1324ac317d /tox.ini
parenta93f171da3df0491e2bf3d5c1bf7a5a856a6e128 (diff)
downloadkolla-fd49c3d6fe90b05d2181fe1f18481620b32506c3.tar.gz
kolla-fd49c3d6fe90b05d2181fe1f18481620b32506c3.zip
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 1a508264e..f306586f4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1
+minversion = 3.18
skipsdist = True
envlist = pep8,py38
ignore_basepython_conflict = True
@@ -7,7 +7,7 @@ ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop=True
-whitelist_externals = find
+allowlist_externals = find
rm
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
@@ -71,14 +71,14 @@ commands =
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:pdf-docs]
-whitelist_externals = make
+allowlist_externals = make
deps = {[testenv:docs]deps}
commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:genconfig]
-whitelist_externals = which
+allowlist_externals = which
commands=
oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf