Update sqlalchemy requirement from >=2.0.0 to >=2.0.49
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(13 days ago)
(13 days ago)
Updates the requirements on sqlalchemy to permit the latest version.
Release notes
Sourced from sqlalchemy's releases.
2.0.49
Released: April 3, 2026
orm
[orm] [bug] Fixed issue where
_orm.Session.get()would bypass the identity map and emit unnecessary SQL whenwith_for_update=Falsewas passed, rather than treating it equivalently to the default ofNone. Pull request courtesy of Joshua Swanson.References: #13176
[orm] [bug] Fixed issue where chained
_orm.joinedload()options would not be applied correctly when the final relationship in the chain is declared on a base mapper and accessed through a subclass mapper in a_orm.with_polymorphic()query. The path registry now correctly computes the natural path when a property declared on a base class is accessed through a path containing a subclass mapper, ensuring the loader option can be located during query compilation.References: #13193
[orm] [bug] [inheritance] Fixed issue where using
_orm.Load.options()to apply a chained loader option such as_orm.joinedload()or_orm.selectinload()with_orm.PropComparator.of_type()for a polymorphic relationship would not generate the necessary clauses for the polymorphic subclasses. The polymorphic loading strategy is now correctly propagated when using a call such asjoinedload(A.b).options(joinedload(B.c.of_type(poly)))to match the behavior of direct chaining e.g.joinedload(A.b).joinedload(B.c.of_type(poly)).References: #13202
[orm] [bug] [inheritance] Fixed issue where using chained loader options such as
_orm.selectinload()after_orm.joinedload()with_orm.PropComparator.of_type()for a polymorphic relationship would not properly apply the chained loader option. The loader option is now correctly applied when using a call such asjoinedload(A.b.of_type(poly)).selectinload(poly.SubClass.c)to eagerly load related objects.References: #13209
typing
- [typing] [bug] Fixed a typing issue where the typed members of :data:
.funcwould return the appropriate class of the same name, however this creates an issue for
... (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 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)
Package Dependencies
Technical Details
| ID: | 15670491 |
| UUID: | 4388399695 |
| Node ID: | PR_kwDOR0Acps7YnPNH |
| Host: | GitHub |
| Repository: | eugen-goebel/inventory-management |