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: Ida8f5339d8525bca66cb7a505fee45fc0bc39b7c
This commit is contained in:
wu.shiming 2021-09-18 11:51:22 +08:00
parent a99b1497f5
commit 5e60fc794f

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 3.1.1 minversion = 3.18.0
envlist = py3,pep8 envlist = py3,pep8
skipsdist = True skipsdist = True
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -37,7 +37,7 @@ commands =
[testenv:docs] [testenv:docs]
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}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
whitelist_externals = allowlist_externals =
rm rm
commands = commands =
rm -fr doc/build rm -fr doc/build
@ -45,7 +45,7 @@ commands =
[testenv:releasenotes] [testenv:releasenotes]
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
rm rm
commands = commands =
rm -rf releasenotes/build rm -rf releasenotes/build