Bump sqlalchemy[asyncio] from 2.0.35 to 2.0.37
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(about 1 year ago)
(8 months ago)
(8 months ago)
by pamelafox
dependencies
Bumps sqlalchemy[asyncio] from 2.0.35 to 2.0.37.
Release notes
Sourced from sqlalchemy[asyncio]'s releases.
2.0.37
Released: January 9, 2025
orm
[orm] [bug] Fixed issue regarding
Uniontypes that would be present in the_orm.registry.type_annotation_mapof a_orm.registryor declarative base class, where aMappedelement that included one of the subtypes present in thatUnionwould be matched to that entry, potentially ignoring other entries that matched exactly. The correct behavior now takes place such that an entry should only match in_orm.registry.type_annotation_mapexactly, as aUniontype is a self-contained type. For example, an attribute withMapped[float]would previously match to a_orm.registry.type_annotation_mapentryUnion[float, Decimal]; this will no longer match and will now only match to an entry that statesfloat. Pull request courtesy Frazer McLean.References: #11370
[orm] [bug] Fixed bug in how type unions were handled within
_orm.registry.type_annotation_mapas well as_orm.Mappedthat made the lookup behavior ofa | bdifferent from that ofUnion[a, b].References: #11944
[orm] [bug] Consistently handle
TypeAliasType(defined in PEP 695) obtained with thetype X = intsyntax introduced in python 3.12. Now in all cases one such alias must be explicitly added to the type map for it to be usable insideMapped. This change also revises the approach added in #11305, now requiring theTypeAliasTypeto be added to the type map. Documentation on how unions and type alias types are handled by SQLAlchemy has been added in theorm_declarative_mapped_column_type_mapsection of the documentation.References: #11955
[orm] [bug] Fixed regression caused by an internal code change in response to recent Mypy releases that caused the very unusual case of a list of ORM-mapped attribute expressions passed to
ColumnOperators.in_()to no longer be accepted.References: #12019
[orm] [bug] Fixed issues in type handling within the
_orm.registry.type_annotation_mapfeature which prevented the use of unions, using either pep-604 orUnionsyntaxes under future
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Technical Details
| ID: | 3907697 |
| UUID: | 2275467667 |
| Node ID: | PR_kwDOLiB2fc6HoOGT |
| Host: | GitHub |
| Repository: | Azure-Samples/azure-postgres-pgvector-python |
| Merge State: | Unknown |