From 8fd3f6a5c424dda953fba52a8d4df09333afd105 Mon Sep 17 00:00:00 2001 From: "You-Sheng Yang (vicamo)" Date: Fri, 13 Jan 2023 10:53:58 +0800 Subject: [PATCH] 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) --- tox.ini | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index f243faca..863d2eb5 100644 --- a/tox.ini +++ b/tox.ini @@ -23,9 +23,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 -v 2 --timing -- {posargs:patchwork} -- 2.47.3