Visitar URL original
build(deps): bump sqlalchemy from 2.0.55 to 2.1.6 by dependabot[bot] · Pull Request #1909 · ormar-orm/ormar · GitHub
Skip to content

build(deps): bump sqlalchemy from 2.0.55 to 2.1.6 - #1909

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/sqlalchemy-2.1.6
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/sqlalchemy-2.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sqlalchemy from 2.0.55 to 2.1.6.

Release notes

Sourced from sqlalchemy's releases.

2.1.6

Released: October 21, 2026

orm

  • [orm] [bug] Fixed issue where a Session flush that replaced an expired object in the identity map with a newly flushed object of the same primary key would emit a SELECT to refresh the expired object, solely in order to determine whether to emit an "Identity map already had an identity" warning. This could occur when a row loaded within a transaction is rolled back and its primary key value is subsequently reused, and could lead to an AttributeError if the expired object were garbage collected during that load. The check now emits no SQL, and an expired object that is replaced in this way no longer causes the warning to be emitted.

    This change is also backported to: 2.0.56

    References: #13711

  • [orm] [bug] [regression] Fixed regression caused by #13070 where using more than one orm.with_loader_criteria() option for the same entity, where the criteria made use of correlated subqueries referring to that entity, would fail with a RecursionError when compiling.

    References: #13701

  • [orm] [bug] [regression] Fixed regression caused by the new implementation of .params() for statements introduced in #7066, where parameter values passed to the .params() method of an ORM statement created using Select.from_statement() would not be applied when the statement was compiled without the compiled statement cache, such as when the cache was disabled or when the statement was stringified directly, leading to an error that a value is required for the bound parameter.

    References: #13709

orm extensions

  • [bug] [orm extensions] Fixed an issue in the instrumentation_toplevel extension where unrelated classes inheriting from typing.Generic could incorrectly raise a TypeError when using different instrumentation implementations. Pull request courtesy TomasCaruso10.

    This change is also backported to: 2.0.56

    References: #13680

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 28, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) October 28, 2026 02:25
@dependabot
dependabot Bot force-pushed the dependabot/pip/sqlalchemy-2.1.6 branch from 7758ff9 to 6748900 Compare October 28, 2026 02:32
@codspeed

codspeed Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 17.17%

2 warnings, 1 note

⚠️ 112 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ Base and head ran on different runner types

Some benchmarks with significant performance changes were compared across different runner types, so the changes might not come from the code. Run base and head on the same runner type, or use CodSpeed Macro Runners for more stable results.

Learn more about Macro Runners

Open the report in CodSpeed to investigate

ℹ️ 126 benchmarks have no flamegraph

The flamegraph wasn't generated: the symbols of the profiling trace could not be resolved, because no information about the language frames was collected.

See affected benchmarks

⚡ 8 improved benchmarks
✅ 118 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_updating_models_in_bulk[10] 8.5 ms 6.5 ms +30.22%
⚡ test_count[250] 13.2 ms 10.5 ms +26.1%
⚡ test_max[250] 7.2 ms 6.2 ms +15.65%
⚡ test_sum[250] 7.3 ms 6.4 ms +15.33%
⚡ test_min[250] 7.2 ms 6.3 ms +14.2%
⚡ test_avg[250] 7.4 ms 6.5 ms +14.02%
⚡ test_deleting_all[250] 5.7 ms 5 ms +12.25%
⚡ test_exists[250] 7.6 ms 6.8 ms +10.96%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing dependabot/pip/sqlalchemy-2.1.6 (23955ef) with master (4423fcd)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (43b53dd) during the generation of this report, so 4423fcd was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@dependabot
dependabot Bot force-pushed the dependabot/pip/sqlalchemy-2.1.6 branch 4 times, most recently from 9faf0a5 to fd4d0eb Compare October 29, 2026 02:33
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.55 to 2.1.6.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-version: 2.1.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/sqlalchemy-2.1.6 branch from fd4d0eb to 23955ef Compare October 30, 2026 02:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants