]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
update typing for mypy 1.11; pin plugin to <1.11
authorFederico Caselli <cfederico87@gmail.com>
Mon, 22 Jul 2024 21:17:45 +0000 (23:17 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jul 2024 03:38:55 +0000 (23:38 -0400)
commit7b52230d43d7713bb4ee54174507c1e96990236f
tree5be2a28f7ec07ebad6edc0f98cb5d73b90ddd469
parent94b174d2216e008ee3da4ee78e001eae9ee71186
update typing for mypy 1.11; pin plugin to <1.11

(1.4 specific notes)

The legacy mypy plugin is no longer fully functional with the latest series
of mypy 1.11.0, as changes in the mypy interpreter are no longer compatible
with the approach used by the plugin.  If code is dependent on the legacy
mypy plugin with sqlalchemy2-stubs, it's recommended to pin mypy to be
below the 1.11.0 series.    Seek upgrading to the 2.0 series of SQLAlchemy
and migrating to the modern type annotations.

Change-Id: Ib8fef93ede588430dc0f7ed44ef887649a415821
cherry picked from commit 0741fe45f62f89845b15d7faea209b26a652a174)

Change-Id: I61f50539cda851b98178060410fedaa70971d01a
doc/build/changelog/unreleased_14/mypy1110.rst [new file with mode: 0644]
doc/build/orm/extensions/mypy.rst
tox.ini