From 264c2cf7dfc22b7e93251cfad476d444804c0fc5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 11 Dec 2022 11:31:10 -0500 Subject: [PATCH] adjust for tox changes to passenv Fixed issue in tox.ini file where changes in the tox 4.0 series to the format of "passenv" caused tox to not function correctly, in particular raising an error as of tox 4.0.6. Change-Id: I659c8fc523a71deaa02a89103c9e7241cf81d831 References: https://github.com/tox-dev/tox/issues/2676 --- docs/build/unreleased/tox_fix.rst | 6 ++++++ tox.ini | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 docs/build/unreleased/tox_fix.rst diff --git a/docs/build/unreleased/tox_fix.rst b/docs/build/unreleased/tox_fix.rst new file mode 100644 index 00000000..f37829fc --- /dev/null +++ b/docs/build/unreleased/tox_fix.rst @@ -0,0 +1,6 @@ +.. change:: + :tags: bug, tests + + Fixed issue in tox.ini file where changes in the tox 4.0 series to the + format of "passenv" caused tox to not function correctly, in particular + raising an error as of tox 4.0.6. diff --git a/tox.ini b/tox.ini index 892ce871..c9a769f3 100644 --- a/tox.ini +++ b/tox.ini @@ -52,7 +52,14 @@ setenv= # tox as of 2.0 blocks all environment variables from the # outside, unless they are here (or in TOX_TESTENV_PASSENV, # wildcards OK). Need at least these -passenv=ORACLE_HOME NLS_LANG TOX_SQLITE TOX_POSTGRESQL TOX_MYSQL TOX_ORACLE TOX_MSSQL +passenv= + ORACLE_HOME + NLS_LANG + TOX_SQLITE + TOX_POSTGRESQL + TOX_MYSQL + TOX_ORACLE + TOX_MSSQL commands= {env:BASECOMMAND} {env:WORKERS} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:COVERAGE:} {env:LIMITTESTS:} {posargs} -- 2.47.2