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: Ib9853f84d89aa55d2bdead548345dd89d43d98af
(cherry picked from commit ce9441a364
)
This commit is contained in:
parent
e69fe8fc6e
commit
04761e9cd6
|
@ -45,13 +45,13 @@ BINDEP_FILE=${BINDEP_FILE:-bindep.txt}
|
|||
# to allow pip and bindep to work.
|
||||
case "${ID,,}" in
|
||||
amzn|centos|rhel)
|
||||
pkg_list="python3-devel python3-virtualenv redhat-lsb-core"
|
||||
pkg_list="python3-devel redhat-lsb-core"
|
||||
;;
|
||||
fedora)
|
||||
pkg_list="python3-devel python3-virtualenv redhat-lsb-core redhat-rpm-config yum-utils"
|
||||
pkg_list="python3-devel redhat-lsb-core redhat-rpm-config yum-utils"
|
||||
;;
|
||||
ubuntu|debian)
|
||||
pkg_list="python3-dev python3-pip virtualenv lsb-release curl"
|
||||
pkg_list="python3-dev python3-pip lsb-release curl"
|
||||
sudo apt-get update
|
||||
;;
|
||||
*)
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -17,7 +17,7 @@ passenv =
|
|||
HTTPS_PROXY
|
||||
no_proxy
|
||||
NO_PROXY
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
bash
|
||||
setenv =
|
||||
PYTHONUNBUFFERED=1
|
||||
|
@ -35,7 +35,8 @@ commands =
|
|||
|
||||
[testenv:pdf-docs]
|
||||
deps = {[testenv:docs]deps}
|
||||
whitelist_externals =
|
||||
allowlist_externals =
|
||||
make
|
||||
commands =
|
||||
sphinx-build --keep-going -W -b latex doc/source doc/build/pdf
|
||||
make -C doc/build/pdf
|
||||
|
|
Loading…
Reference in New Issue