From 479a2954a163a6f385c9f86478927f848cef0615 Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Wed, 16 Feb 2022 12:03:38 +0100 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[1] by allowlist_externals option. [1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I7ee77638d44ee314cdfa6f6d9320b19d794b718c --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index e158f90f..b3173d65 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.1 +minversion = 3.18.0 envlist = pep8,py27,py37,docs ignore_basepython_conflict = True @@ -24,7 +24,7 @@ commands = stestr run --suppress-attachments {posargs} commands = pre-commit run -a [testenv:docs] -whitelist_externals = rm +allowlist_externals = rm deps = -r{toxinidir}/doc/requirements.txt commands = @@ -33,7 +33,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html {posargs} [testenv:releasenotes] -whitelist_externals = rm +allowlist_externals = rm deps = {[testenv:docs]deps} commands = rm -rf releasenotes/build