]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
compatibility with typing_extensions 4.13 and type statement
authorDaraan <github.blurry@9ox.net>
Wed, 26 Mar 2025 18:27:46 +0000 (14:27 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Mar 2025 12:01:29 +0000 (08:01 -0400)
commit8f875ae8640e7b996092c5b3fcb86d9cc1980b1d
tree641183d7262aed2b813be1168f63277c0435e24b
parent4655b1bbb5e810c3627a70135bf2a4b1d7af5eee
compatibility with typing_extensions 4.13 and type statement

Fixed regression caused by ``typing_extension==4.13.0`` that introduced
a different implementation for ``TypeAliasType`` while SQLAlchemy assumed
that it would be equivalent to the ``typing`` version.

Added test regarding generic TypeAliasType

Fixes: #12473
Closes: #12472
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12472
Pull-request-sha: 8861a5acfb8e81663413ff144b41abf64779b6fd

Change-Id: I053019a222546a625ed6d588314ae9f5b34c2f8a
(cherry picked from commit 61970f9d2b7809116b5a9d339b45d910e276b428)
doc/build/changelog/unreleased_20/12473.rst [new file with mode: 0644]
lib/sqlalchemy/orm/decl_api.py
lib/sqlalchemy/util/typing.py
test/base/test_typing_utils.py
test/orm/declarative/test_tm_future_annotations_sync.py
test/orm/declarative/test_typed_mapping.py