From 378ce7cc04dc293f4ef99e036b289c939b50c520 Mon Sep 17 00:00:00 2001 From: "wu.shiming" Date: Mon, 31 May 2021 09:54:53 +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: Ib37ac703ae9a49c31f0797f210174c591a4b8109 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 641b23a29..4cca1be5e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 2.3.1 +minversion = 3.18.0 envlist = py38,pep8 skipsdist = True @@ -11,7 +11,7 @@ install_command = pip install {opts} {packages} deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -whitelist_externals = sh +allowlist_externals = sh find rm commands = find {toxinidir} -type f -name "*.py[c|o]" -delete