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: I475fe7eac69350e5438cda7310eddd1cb6db813e
This commit is contained in:
wangzihao 2021-08-11 11:06:08 +08:00 committed by wdd
parent 2c74bb92e5
commit e52d7b8b96

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 3.1 minversion = 3.18.0
envlist = py3,pep8 envlist = py3,pep8
ignore_basepython_conflict = true ignore_basepython_conflict = true
@ -21,7 +21,7 @@ commands =
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]
whitelist_externals = rm allowlist_externals = rm
deps = deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
@ -43,7 +43,7 @@ show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[testenv:releasenotes] [testenv:releasenotes]
whitelist_externals = rm allowlist_externals = rm
deps = deps =
{[testenv:docs]deps} {[testenv:docs]deps}
commands = commands =