summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2022-12-24 19:26:39 -0800
committerGhanshyam Mann <gmann@ghanshyammann.com>2022-12-27 13:41:09 -0600
commite45a32d17e0a0a4a2e3de964647549d075e276ba (patch)
treeda53e7fc8e4ad9d3b364e5cc15ab439788702b98
parent2281c0868e00d0289e4a5c78fbff99f67b5d3d4d (diff)
downloadglance-e45a32d17e0a0a4a2e3de964647549d075e276ba.tar.gz
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 e2cd7251f46e9d8fe7796ba0e178ee692de98fe6) (cherry picked from commit 022e15025270ea2660dec2d29446658bd8ea9dab) (cherry picked from commit 3f6c689b7241bc20bc9f7ed398058bc312f81df3)
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index af3860425..ae8c73763 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,6 @@
minversion = 3.18.0
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
envlist = functional-py38,py38,py36,pep8
-skipsdist = True
skip_missing_interpreters = true
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
@@ -33,7 +32,9 @@ commands =
allowlist_externals = bash
find
rm
-passenv = *_proxy *_PROXY
+passenv =
+ *_proxy
+ *_PROXY
[testenv:functional]
# this will use whatever the system python3 is