]> 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:08 +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

tox.ini

diff --git a/tox.ini b/tox.ini
index 503b3b8dd478dd467f12e835f22597d2f163f6a0..05d4a510cc8f92374b934d3dfd9bd2b3fbe2ab76 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,10 @@ envlist = py
 [testenv]
 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