From: Mike Bayer Date: Mon, 4 Mar 2024 04:03:14 +0000 (-0500) Subject: support pytest 8.1 X-Git-Tag: rel_2_0_28~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01982fa679689be0a80d6e091de1ca01c42d7afd;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git support pytest 8.1 This is a bump in the tox.ini file. it's possible we don't need to change anything else as we had help from the pytest people a few years back to make sure our API use was fairly modern. Alembic is having problems that appear to be separate. Change-Id: If0348dc4915522d31d3ab970df31244bbc8b8ca4 (cherry picked from commit bc4d9ceec1c73c6a4e36d570052ff5e588462443) --- diff --git a/doc/build/changelog/unreleased_20/pytest81.rst b/doc/build/changelog/unreleased_20/pytest81.rst new file mode 100644 index 0000000000..01b840ee8c --- /dev/null +++ b/doc/build/changelog/unreleased_20/pytest81.rst @@ -0,0 +1,4 @@ +.. change:: + :tags: change, tests + + pytest support in the tox.ini file has been updated to support pytest 8.1. diff --git a/tox.ini b/tox.ini index cd91a51a7e..72e17cfb68 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ install_command= python -I -m pip install --only-binary=pymssql {opts} {packages} deps= - pytest>=7.0.0rc1,<8 + pytest>=7.0.0,<8.2 # tracked by https://github.com/pytest-dev/pytest-xdist/issues/907 pytest-xdist!=3.3.0