From 8dae90a98cc37453cf1da900673eb67a4b28a047 Mon Sep 17 00:00:00 2001 From: wangzihao Date: Fri, 9 Jul 2021 10:40:15 +0800 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: Ifb8d4f589c2fb8fa2adc0372d1d54077afe5b32d --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index f9d53ce64..48600ec52 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.1.0 +minversion = 3.18.0 envlist = py3,pep8 skipsdist = True # this allows tox to infer the base python from the environment name @@ -23,7 +23,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/ commands = find . -type f -name "*.pyc" -delete stestr run --serial --slowest {posargs} -whitelist_externals = find +allowlist_externals = find [testenv:integration] setenv = {[testenv]setenv} @@ -68,7 +68,7 @@ commands = # This environment is called from CI scripts to test and publish # the API Ref to docs.openstack.org. # -whitelist_externals = bash +allowlist_externals = bash rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}