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: I21e5c3a33241c1f06148445326b2483de5e79147
This commit is contained in:
likui 2021-07-03 21:19:47 +08:00
parent 61459c64bb
commit ffb4a81461

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 2.0 minversion = 3.18.0
skipsdist = True skipsdist = True
envlist = docs,linters,functional envlist = docs,linters,functional
@ -21,7 +21,7 @@ passenv =
TESTING_BRANCH TESTING_BRANCH
TESTING_HOME TESTING_HOME
USER USER
whitelist_externals = allowlist_externals =
bash bash
setenv = setenv =
ANSIBLE_INVENTORY={toxinidir}/tests/lxb_inventory ANSIBLE_INVENTORY={toxinidir}/tests/lxb_inventory
@ -41,7 +41,7 @@ commands =
[testenv:pdf-docs] [testenv:pdf-docs]
basepython = python3 basepython = python3
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf sphinx-build -W --keep-going -b latex doc/source doc/build/pdf