CI: Prepare tox.ini for new tox version 34/105434/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Thu, 13 Apr 2023 13:13:30 +0000 (15:13 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Thu, 13 Apr 2023 13:26:34 +0000 (15:26 +0200)
whitelist_externals is now deprecated in favor of allowlist_externals
https://tox.wiki/en/latest/changelog.html#v4-0-0rc4-2022-12-06

Issue-ID: https://jira.linuxfoundation.org/browse/RELENG-4539
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I20241d03cd6d2b78ac886dfa26301bc83569ce09

tox.ini

diff --git a/tox.ini b/tox.ini
index 46f1b4832442182e40bebff3b7b231905ca7fde0..d44493e52100e25ab97c9feb780c681702e133db 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -54,7 +54,7 @@ deps =
     -rdocs/requirements.txt
     sphinxcontrib-spelling
     PyEnchant
-whitelist_externals = sh
+allowlist_externals = sh
 commands =
     sh -c 'command enchant>/dev/null || command enchant-2 -v>/dev/null || sudo yum -y install enchant || (echo "enchant command not found - please install it (e.g. sudo apt-get install enchant | yum install enchant )" >&2 && exit 1)'
     sphinx-build -q -W --keep-going -b spelling -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spelling