From 747c5f65542bcafcf3fb0da34b232909c59ddc4f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 27 Dec 2022 17:53:29 +0100 Subject: [PATCH] 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: Id2a4cb712b4099bff1c05c4d10502a7572517268 --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 3300b6a8..a4468c06 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ passenv = no_proxy NO_PROXY SERVICES_BRANCH -whitelist_externals = +allowlist_externals = bash setenv = PYTHONUNBUFFERED=1 @@ -36,7 +36,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