From 2073f450bee172da1b94f333d9b8751262c8f340 Mon Sep 17 00:00:00 2001
From: "wu.shiming" <wushiming@yovole.com>
Date: Thu, 10 Jun 2021 09:30:57 +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: Id9b9f5c3a99f6b3717a69a65e1aadc25aa4d48b4
---
 tox.ini | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tox.ini b/tox.ini
index 33b20b62..f56ab619 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-minversion = 3.1.1
+minversion = 3.18.0
 envlist = py3,pep8
 ignore_basepython_conflict = True
 skipsdist = True
@@ -58,12 +58,12 @@ deps = -r{toxinidir}/doc/requirements.txt
 commands=
     rm -rf doc/build doc/build/doctrees
     sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
-whitelist_externals = rm
+allowlist_externals = rm
 
 [testenv:pdf-docs]
 deps = {[testenv:docs]deps}
 envdir = {toxworkdir}/docs
-whitelist_externals =
+allowlist_externals =
   rm
   make
 commands =