]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
adapt pytest plugin to support pytest v7
authorFederico Caselli <cfederico87@gmail.com>
Sat, 27 Nov 2021 08:53:29 +0000 (09:53 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Nov 2021 21:13:15 +0000 (16:13 -0500)
commite8fb73cfb0c765c71e50e7bb0ec92d419076201d
tree56aed678ebb78a071e3eb8ac2a2d366701145c3d
parent29c5fba9ad89e53180f0bd2a026742321093105f
adapt pytest plugin to support pytest v7

Implemented support for the test suite to run correctly under Pytest 7.
Previously, only Pytest 6.x was supported for Python 3, however the version
was not pinned on the upper bound in tox.ini. Pytest is not pinned in
tox.ini to be lower than version 8 so that SQLAlchemy versions released
with the current codebase will be able to be tested under tox without
changes to the environment.   Much thanks to the Pytest developers for
their help with this issue.

Change-Id: I3b12166199be2b913ee16e78b3ebbff415654396
doc/build/changelog/unreleased_14/pytest7.rst [new file with mode: 0644]
lib/sqlalchemy/testing/asyncio.py
lib/sqlalchemy/testing/plugin/bootstrap.py
lib/sqlalchemy/testing/plugin/plugin_base.py
lib/sqlalchemy/testing/plugin/pytestplugin.py
test/base/test_except.py
test/conftest.py
tox.ini