From a48e09f7abbdb05c8c29b0fd4c9f125d589e6d7c Mon Sep 17 00:00:00 2001 From: Dantali0n Date: Tue, 6 Jul 2021 12:59:34 +0200 Subject: [PATCH] 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 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 1a3ce69..edfcf61 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =