From 3e589edd902a3bb4a1f313ca877314e52f1b0520 Mon Sep 17 00:00:00 2001 From: yangyawei Date: Fri, 4 Jun 2021 15:10:14 +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: If129b56be47952d018b9f6024d2a192950c1a974 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 6533c0d25..4c8fc9bb7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.1 +minversion = 3.18.0 envlist = py3,pep8 ignore_basepython_conflict = true @@ -36,7 +36,7 @@ commands = commands = {posargs} [testenv:docs] -whitelist_externals = rm +allowlist_externals = rm deps = -r{toxinidir}/doc/requirements.txt commands = rm -fr doc/build @@ -105,7 +105,7 @@ extension = paths = ./oslo_messaging/hacking [testenv:releasenotes] -whitelist_externals = rm +allowlist_externals = rm commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html