summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-12-11 11:31:10 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2022-12-11 13:52:16 -0500
commit264c2cf7dfc22b7e93251cfad476d444804c0fc5 (patch)
treef67747714d15f53a040c388be64c7543b2cfbbd5
parentedd64ea2a322049a4a536c1a9ae8e498db73be23 (diff)
downloadalembic-264c2cf7dfc22b7e93251cfad476d444804c0fc5.tar.gz
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
-rw-r--r--docs/build/unreleased/tox_fix.rst6
-rw-r--r--tox.ini9
2 files changed, 14 insertions, 1 deletions
diff --git a/docs/build/unreleased/tox_fix.rst b/docs/build/unreleased/tox_fix.rst
new file mode 100644
index 0000000..f37829f
--- /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 892ce87..c9a769f 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}