]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
support pytest 8.1
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2024 04:03:14 +0000 (23:03 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2024 04:07:13 +0000 (23:07 -0500)
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)

doc/build/changelog/unreleased_20/pytest81.rst [new file with mode: 0644]
tox.ini

diff --git a/doc/build/changelog/unreleased_20/pytest81.rst b/doc/build/changelog/unreleased_20/pytest81.rst
new file mode 100644 (file)
index 0000000..01b840e
--- /dev/null
@@ -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 cd91a51a7ea43d99558972cc34e58e8bcbb80610..72e17cfb68689bef34b798a4773f0ffaded2a7b4 100644 (file)
--- 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