From fc5be1ba6b3682d010ea5bcbc1370cd5dbc37a75 Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Thu, 13 Apr 2023 15:13:30 +0200 Subject: [PATCH] CI: Prepare tox.ini for new tox version 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 Change-Id: I20241d03cd6d2b78ac886dfa26301bc83569ce09 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 46f1b4832..d44493e52 100644 --- 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 -- 2.36.6