From: Mike Bayer Date: Sun, 11 Dec 2022 16:31:10 +0000 (-0500) Subject: adjust for tox changes to passenv X-Git-Tag: rel_1_9_0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=264c2cf7dfc22b7e93251cfad476d444804c0fc5;p=thirdparty%2Fsqlalchemy%2Falembic.git 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 --- 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}