From: You-Sheng Yang (vicamo) Date: Fri, 13 Jan 2023 02:53:58 +0000 (+0800) Subject: tox: fix failure due to whitespaces in passenv X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39549360ca29825f46d93d64086b027801277d0;p=thirdparty%2Fpatchwork.git tox: fix failure due to whitespaces in passenv When installed tox >= 4, space-separated variables specified for passenv are no longer allowed. Signed-off-by: You-Sheng Yang (vicamo) (cherry picked from commit 8fd3f6a5c424dda953fba52a8d4df09333afd105) --- diff --git a/tox.ini b/tox.ini index 4873866e..5be797c1 100644 --- a/tox.ini +++ b/tox.ini @@ -20,9 +20,19 @@ setenv = PYTHONDEVMODE = 1 PYTHONWARNINGS = once passenv = - http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY - DATABASE_TYPE DATABASE_USER DATABASE_PASSWORD DATABASE_HOST - DATABASE_PORT DATABASE_NAME DJANGO_TEST_PROCESSES + http_proxy + HTTP_PROXY + https_proxy + HTTPS_PROXY + no_proxy + NO_PROXY + DATABASE_TYPE + DATABASE_USER + DATABASE_PASSWORD + DATABASE_HOST + DATABASE_PORT + DATABASE_NAME + DJANGO_TEST_PROCESSES commands = python {toxinidir}/manage.py test --noinput --parallel -- {posargs:patchwork}