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: I62d6dc8e5b075b4803b0384d5533980c01873f66
This commit is contained in:
Dmitriy Rabotyagov 2022-12-27 17:53:06 +01:00
parent 0fbdc22ada
commit c70084757d

View File

@ -22,7 +22,7 @@ passenv =
TESTING_BRANCH TESTING_BRANCH
TESTING_HOME TESTING_HOME
USER USER
whitelist_externals = allowlist_externals =
bash bash
setenv = setenv =
PYTHONUNBUFFERED=1 PYTHONUNBUFFERED=1
@ -44,7 +44,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 -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf