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: I83ee292b6d7440f7543ef85d7eed82940ee9745d
This commit is contained in:
Dantali0n 2021-07-06 12:59:34 +02:00
parent f3554b5726
commit a48e09f7ab

View File

@ -1,5 +1,5 @@
[tox]
minversion = 2.0
minversion = 3.18.0
envlist = py3,pep8
skipsdist = True
@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
# Note the hash seed is set to 0 until horizon can be tested with a
# random hash seed successfully.
PYTHONHASHSEED=0
whitelist_externals = /bin/bash
allowlist_externals = /bin/bash
rm
find
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
@ -47,7 +47,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]
envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps}
whitelist_externals =
allowlist_externals =
rm
make
commands =