]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
disable new tox 4.4.0 feature
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 25 Jan 2023 22:34:08 +0000 (17:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 25 Jan 2023 22:34:53 +0000 (17:34 -0500)
a new flag constrain_package_deps appears to interpret deps
as constraints, and not requirements.  turn it off.

also remove the python setup command and use their default,
try to stay compatible

Change-Id: Ib400a7783c08c2c63ddb099944cd48b9631acd75
(cherry picked from commit aa2c2c8b4189b0fd71e7f8af0a81eda4204678f9)

tox.ini

diff --git a/tox.ini b/tox.ini
index f007614b3b7fc91e83ed85e7ac933c04808bec33..1c95f068e460b1158949eb492208bddd25a50de2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,10 @@ envlist = py
 # Jenkins etc. need to call "coverage erase" externally.
 cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --exclude-tag memory-intensive --exclude-tag timing-intensive -k "not aaa_profiling"
 
-install_command=python -m pip install {env:TOX_PIP_OPTS:} {opts} {packages}
+# new opt as of tox 4.4.0 was set to True causing it to dump the
+# deps below into a constraints file, while requirements of the
+# form ".[aiosqlite]" are not valid constraints, those are requirements
+constrain_package_deps=false
 
 usedevelop=
      cov: True