From: Mike Bayer Date: Wed, 25 Jan 2023 22:34:08 +0000 (-0500) Subject: disable new tox 4.4.0 feature X-Git-Tag: rel_1_4_47~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=352dad47349cbf55db1de107a8f7a7f5f3fbefd6;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git disable new tox 4.4.0 feature 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) --- diff --git a/tox.ini b/tox.ini index f007614b3b..1c95f068e4 100644 --- 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