From aa2c2c8b4189b0fd71e7f8af0a81eda4204678f9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 25 Jan 2023 17:34:08 -0500 Subject: [PATCH] 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 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 503b3b8dd4..05d4a510cc 100644 --- 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 -- 2.47.2