From d087c358a13c8b8f9ece8b5129e66ede51106033 Mon Sep 17 00:00:00 2001 From: "wu.shiming" Date: Mon, 31 May 2021 09:42:29 +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: I0cf1a50e43a18984d4f299a551c5bbef483d82ec --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index c5d9d926..3c4d0cd8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] -minversion = 3.1.0 +minversion = 3.18.0 skipsdist = True envlist = py36,py38,pep8 ignore_basepython_conflict = True [testenv] basepython = python3 -whitelist_externals = rm +allowlist_externals = rm setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning usedevelop = True @@ -59,7 +59,7 @@ commands = sphinx-build -W --keep-going -b html doc/source doc/build/html # something is too large, likely from pulling in one of the conf sample files # [testenv:pdf-docs] # envdir = {toxworkdir}/docs -# whitelist_externals = +# allowlist_externals = # make # commands = # sphinx-build -W --keep-going -b latex doc/source doc/build/pdf