-
-
Notifications
You must be signed in to change notification settings - Fork 541
Closed
Description
I've been unsuccessful in passing multiple variables:
jaraco.mongodb debt/win-timeout @ env 'TOX_OVERRIDE=testenv.pass_env=FOO,BAR' tox c -k pass_env
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
ROOT: env var TOX_OVERRIDE='testenv.pass_env=FOO,BAR' cannot be transformed to typing.List[tox.config.loader.api.Override] because ArgumentTypeError('override BAR has no = sign in it')
[testenv:py]
pass_env =
CC
CCSHARED
CFLAGS
CPPFLAGS
CURL_CA_BUNDLE
CXX
HOME
LANG
LANGUAGE
LDFLAGS
LD_LIBRARY_PATH
PIP_*
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_SYSROOT_DIR
REQUESTS_CA_BUNDLE
SSL_CERT_FILE
TERM
TMPDIR
VIRTUALENV_*
http_proxy
https_proxy
no_proxy
Why not just add those values into passenv?
I'm trying to passthrough GITHUB_*
and RUNNER_*
to allow the tests to accommodate slow runners on Windows on Github (jaraco/jaraco.mongodb@cd1cf2d). I only expect those to be present in CI and thus want to keep that concern local to that environment's config.
Originally posted by @jaraco in #2681 (reply in thread)
Metadata
Metadata
Assignees
Labels
No labels