]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
adjust for tox changes to passenv
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Dec 2022 16:31:10 +0000 (11:31 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Dec 2022 18:52:16 +0000 (13:52 -0500)
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 [new file with mode: 0644]
tox.ini

diff --git a/docs/build/unreleased/tox_fix.rst b/docs/build/unreleased/tox_fix.rst
new file mode 100644 (file)
index 0000000..f37829f
--- /dev/null
@@ -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 892ce87135650dfd33cefe8ba06fe4b32ee94300..c9a769f32c8fda7d953e1c9e58af922ba2701e9d 100644 (file)
--- 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}