From 8f745f4179fbf5eda8cd1cfc33f137a8e19ba7dd Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Mon, 26 Dec 2022 22:00:57 +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: I83e5f06c6ae9e3da0d59bf554a04f4cd5876b776 --- python-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini b/python-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini index 165bdaf..90c72b9 100644 --- a/python-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini +++ b/python-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini @@ -13,7 +13,7 @@ usedevelop = True 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 072d3d3..e0214d6 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 passenv =