From cb39a351e1775b3e9a86284029c4bea30e522735 Mon Sep 17 00:00:00 2001 From: wangzihao Date: Wed, 11 Aug 2021 11:39:52 +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: I382ca56a7f04aba92fbff060e28df6814712a153 --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index cda6bea..53eed63 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,11 @@ [tox] -minversion = 3.2.0 +minversion = 3.18.0 envlist = py3,pep8 ignore_basepython_conflict = True [testenv] basepython = python3 -whitelist_externals = +allowlist_externals = find deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} @@ -24,7 +24,7 @@ commands = commands = {posargs} [testenv:docs] -whitelist_externals = rm +allowlist_externals = rm deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt @@ -52,7 +52,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build import_exceptions = [testenv:releasenotes] -whitelist_externals = +allowlist_externals = rm deps = {[testenv:docs]deps} commands = -- GitLab