From fdac7375384f014d1e106a35b2c7401b832e8c4c Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Sat, 24 Dec 2022 19:21:13 -0800 Subject: [PATCH] Fix tox4 error tox.ini started failing with Tox4 which had some incompatible changes. One is passenv where we need to pass each value in newline otherwise, it fails with error: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found..... Fixing tox.ini for tox4 changes. Change-Id: Idfa3c5aab012cf8381e001d4c3018b92b76f89af --- tox.ini | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2aed882..c7237d0 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,19 @@ setenv = OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=160 -passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION +passenv = + OS_STDOUT_CAPTURE + OS_STDERR_CAPTURE + OS_TEST_TIMEOUT + OS_TEST_LOCK_PATH + http_proxy + HTTP_PROXY + https_proxy + HTTPS_PROXY + no_proxy + NO_PROXY + ZUUL_CACHE_DIR + REQUIREMENTS_PIP_LOCATION usedevelop = True install_command = pip install -U {opts} {packages} allowlist_externals = *