From ceec5991db3c3d37e4638e83200b780c8af00108 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 27 Dec 2022 00:31:15 +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: Ic23ceb69bc078839c194a629717654bfd3acf002 --- .../k8sapp_nginx_ingress_controller/tox.ini | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini b/python-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini index 5598ddf..6a46141 100644 --- a/python-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini +++ b/python-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini @@ -19,7 +19,7 @@ distshare={toxworkdir}/.tox/distshare sitepackages = False # tox is silly... these need to be separated by a newline.... -whitelist_externals = bash +allowlist_externals = bash find install_command = pip install \ diff --git a/tox.ini b/tox.ini index c1ff2ef..27a7250 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:bashate]