From: guillaume.lambert Date: Thu, 13 Apr 2023 13:13:30 +0000 (+0200) Subject: CI: Prepare tox.ini for new tox version X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=docs.git;a=commitdiff_plain;h=fc5be1ba6b3682d010ea5bcbc1370cd5dbc37a75 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 --- 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