From c7f6f5d1fa65de982d733ead59b08dbac4339744 Mon Sep 17 00:00:00 2001 From: Anand Bhat Date: Thu, 6 May 2021 20:02:50 +0530 Subject: [PATCH] Changed minversion in tox to 3.18.0 The patch bumps min version of tox to 3.18.0 python 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: Icea0fbbd3e389800d7fcfdd6ecd11f3b05b2a892 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 8e22d4f4..44835b23 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = bashate -minversion = 2.0 +minversion = 3.18.0 skipsdist = True [testenv] @@ -19,7 +19,7 @@ commands = bash -c "ls *.sh prep-* stop-* upgrade-* from-*/upgrade-* functions | xargs bashate -v {posargs}" [testenv:docs] -whitelist_externals = bash +allowlist_externals = bash deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt @@ -32,7 +32,7 @@ commands = [testenv:pdf-docs] deps = {[testenv:docs]deps} -whitelist_externals = +allowlist_externals = make commands = sphinx-build -W -b latex doc/source doc/build/pdf