From: Mike Bayer Date: Mon, 29 Nov 2021 21:23:30 +0000 (-0500) Subject: pin pytest < 7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee50bc60638df646a39697e00c69313a079ae5c0;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git pin pytest < 7 pytest 7 support is implemented as of rel_1_4. for previous versions, test collection won't work under pytest 7. Change-Id: I775a71e3941d4e19efb2d9ee7ec7591d6dd38fc5 --- diff --git a/tox.ini b/tox.ini index 2985bbe727..e7e687b48c 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ install_command=python -m pip install {env:TOX_PIP_OPTS:} {opts} {packages} usedevelop= cov: True -deps=pytest>=4.6.11 # this can be 6.x once we are on python 3 only +deps=pytest>=4.6.11,<7 pytest-xdist mock; python_version < '3.3' # needed only for correct profiling results