summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwu.shiming <wushiming@yovole.com>2021-06-03 14:49:23 +0800
committerwushiming <wushiming@yovole.com>2021-06-03 07:00:29 +0000
commit1169a114e7388e4ee622dca98b9fb8e2a06c8ec3 (patch)
tree67f22113457163b7da2b459ed555b5c104f8889c
parent82fcf1dbe56ee5dc2cbcba0bab3440afeba6d6ff (diff)
downloadpython-openstackclient-1169a114e7388e4ee622dca98b9fb8e2a06c8ec3.tar.gz
Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: Ibb77fa2afad3f09e95f0dba243d3a096daedd787
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index ebcdc2d5..5e0be384 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.2.0
+minversion = 3.18.0
envlist = py38,pep8
skipdist = True
# Automatic envs (pyXX) will only use the python version appropriate to that
@@ -18,7 +18,7 @@ deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run {posargs}
-whitelist_externals = stestr
+allowlist_externals = stestr
[testenv:fast8]
# Use same environment directory as pep8 env to save space and install time
@@ -71,7 +71,7 @@ commands =
pythom -m pip install -q -e "git+file://{toxinidir}/../openstacksdk#egg=openstacksdk"
python -m pip freeze
stestr run {posargs}
-whitelist_externals = stestr
+allowlist_externals = stestr
[testenv:functional]
setenv = OS_TEST_PATH=./openstackclient/tests/functional