From 1af685b7d92e1991c4478d5c6cb0c87ca79df44e Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Wed, 1 Mar 2023 17:48:10 +0100 Subject: [PATCH] Fix tox 4 compatibility Change-Id: I30e5455d5f0fb019c2522777d33461a48ca7ba03 --- tox.ini | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 7c4c8fae..14f27d47 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,14 @@ minversion = 2.0 skipsdist = True [testenv] -basepython = python3 setenv = VIRTUAL_ENV={envdir} -passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY +passenv = + http_proxy + HTTP_PROXY + https_proxy + HTTPS_PROXY + no_proxy + NO_PROXY usedevelop = True install_command = pip install {opts} {packages} deps = -r{toxinidir}/requirements.txt @@ -15,7 +20,7 @@ deps = -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} -whitelist_externals = bash +allowlist_externals = bash find [testenv:pep8]