From bc4d9ceec1c73c6a4e36d570052ff5e588462443 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 3 Mar 2024 23:03:14 -0500 Subject: [PATCH] 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 --- doc/build/changelog/unreleased_20/pytest81.rst | 4 ++++ tox.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/build/changelog/unreleased_20/pytest81.rst 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 900165fd7e..22446bb844 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,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 -- 2.47.2