Skip to content

Commit 022e150

Browse files
author
Ghanshyam Mann
committed
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: I0a377c9329cef8b251b800018fc0d7f784008329 (cherry picked from commit e2cd725)
1 parent 07f9874 commit 022e150

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
minversion = 3.18.0
33
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
44
envlist = functional-py39,py39,pep8
5-
skipsdist = True
65
skip_missing_interpreters = true
76
# this allows tox to infer the base python from the environment name
87
# and override any basepython configured in this file
@@ -33,7 +32,9 @@ commands =
3332
allowlist_externals = bash
3433
find
3534
rm
36-
passenv = *_proxy *_PROXY
35+
passenv =
36+
*_proxy
37+
*_PROXY
3738

3839
[testenv:functional]
3940
# this will use whatever the system python3 is

0 commit comments

Comments
 (0)