]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
pin pytest < 7
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Nov 2021 21:23:30 +0000 (16:23 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Nov 2021 21:23:30 +0000 (16:23 -0500)
pytest 7 support is implemented as of rel_1_4.
for previous versions, test collection won't work under
pytest 7.

Change-Id: I775a71e3941d4e19efb2d9ee7ec7591d6dd38fc5

tox.ini

diff --git a/tox.ini b/tox.ini
index 2985bbe7270ee184cdaccd2560e460f822491df6..e7e687b48c12db919f5ee9f9f36fac829c62d3b7 100644 (file)
--- 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