Changed minversion in tox to 3.18.0

The patch bumps min version of tox to 3.18.0 python 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: Id8bdda703afc39d352e3a53877318dc30d91a5f7
This commit is contained in:
Anand Bhat 2021-05-12 16:53:15 +05:30
parent 69a66fb62b
commit 230f5c434c

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 1.6 minversion = 3.18.0
skipsdist = True skipsdist = True
envlist = bashate envlist = bashate
@ -13,7 +13,7 @@ basepython = python3
# modified bashate tree # modified bashate tree
deps = deps =
{env:BASHATE_INSTALL_PATH:bashate==2.0.0} {env:BASHATE_INSTALL_PATH:bashate==2.0.0}
whitelist_externals = bash allowlist_externals = bash
commands = bash -c "find {toxinidir} \ commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \ -not \( -type d -name .?\* -prune \) \
-not \( -type d -name doc -prune \) \ -not \( -type d -name doc -prune \) \
@ -37,7 +37,7 @@ commands = bash -c "find {toxinidir} \
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
whitelist_externals = bash allowlist_externals = bash
setenv = setenv =
TOP_DIR={toxinidir} TOP_DIR={toxinidir}
commands = commands =
@ -45,7 +45,7 @@ commands =
[testenv:pdf-docs] [testenv:pdf-docs]
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf