]> 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:20:07 +0000 (16:20 -0500)
commit2da27bcaa79ab88504a47a24b9d3d70a0a1f37ec
tree362265f2d3bf5f3c4fc1d405a374036283cfc238
parent2d185f516bcf08c97f8902218911c0750b6427a7
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
(cherry picked from commit 7f84297c9947ff8d52b091aedb2a46035791763c)
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