[tox] Make pass_env compatible with tox4

Change-Id: I2c4e321afe8b5b6bf2e6a03181cd182be06c4f44
This commit is contained in:
Salvatore Orlando authored and Salvatore Orlando committed 2022-12-23 15:03:38 +00:00
1 parent 3068bfacb6
commit be23e754a7
1 file changed
+9 -1
+9 -1
View File
@@ -8,7 +8,15 @@ install_command = pip install {opts} {packages}
basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
passenv =
TRACE_FAILONLY
GENERATE_HASHES
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
usedevelop = True
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt