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 =