From 8bf96937372e68de0008f826a48deb4f81e7ba0f Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Fri, 23 Dec 2022 16:06:31 +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: Ib19e9522e005531fceb87a74d86222ac222377b1 --- python-k8sapp-portieris/k8sapp_portieris/tox.ini | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-k8sapp-portieris/k8sapp_portieris/tox.ini b/python-k8sapp-portieris/k8sapp_portieris/tox.ini index 16c775f..5308673 100644 --- a/python-k8sapp-portieris/k8sapp_portieris/tox.ini +++ b/python-k8sapp-portieris/k8sapp_portieris/tox.ini @@ -17,7 +17,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 -v -v -v \ diff --git a/tox.ini b/tox.ini index bfce7fb..731c409 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]