Update tox.ini to work with 4.0

With tox release of 4.0, some parameters were deprecated and are ignored now
which causes tox failures. One of the most spread issues we have is using
`whitelist_externals` isntead of `allowlist_externals`


Change-Id: Ib6f505093477a8b19ca8ae31ab7759904369a8c0
This commit is contained in:
Dmitriy Rabotyagov 2022-12-27 17:53:34 +01:00
parent 87e601f951
commit b9d9ccfc8a

View File

@ -21,7 +21,7 @@ passenv =
TESTING_BRANCH TESTING_BRANCH
TESTING_HOME TESTING_HOME
USER USER
whitelist_externals = allowlist_externals =
bash bash
setenv = setenv =
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1
@ -41,7 +41,7 @@ commands =
[testenv:pdf-docs] [testenv:pdf-docs]
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf sphinx-build -W --keep-going -b latex doc/source doc/build/pdf