From 3aed7448abf049b8e9b4705f58b822f493bb6694 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 27 Dec 2022 01:28:45 +0000 Subject: [PATCH] Update tox.ini to work with tox 4 This change will allow this repo to pass zuul now that this has merged: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Partial-Bug: #2000399 Signed-off-by: Al Bailey Change-Id: I947f803712bd0dd482f9c35ba0a959f053584577 --- modules/tox.ini | 2 +- puppet-manifests/tox.ini | 2 +- tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/tox.ini b/modules/tox.ini index a144cb159..e8ac2fcb2 100644 --- a/modules/tox.ini +++ b/modules/tox.ini @@ -20,7 +20,7 @@ recreate = True # Note: centos developer env requires ruby-devel # Ubuntu developer env requires ruby-dev deps = -whitelist_externals = +allowlist_externals = gem bash setenv = diff --git a/puppet-manifests/tox.ini b/puppet-manifests/tox.ini index 4a4681103..5345c8efd 100644 --- a/puppet-manifests/tox.ini +++ b/puppet-manifests/tox.ini @@ -20,7 +20,7 @@ recreate = True # Note: centos developer env requires ruby-devel # Ubuntu developer env requires ruby-dev deps = -whitelist_externals = +allowlist_externals = gem bash setenv = diff --git a/tox.ini b/tox.ini index 29e7475e8..afe35bdd9 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -whitelist_externals = +allowlist_externals = bash [testenv:shellcheck] @@ -116,7 +116,7 @@ commands = bindep test basepython = python3 # Note: centos developer env requires ruby-devel # Ubuntu developer env requires ruby-dev -whitelist_externals = +allowlist_externals = gem bash setenv =