Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jan 7, 2026

The change in model of aiosqlite impacted sqlalchemy handling of closing the connection - the way how currrent sqlalchemy works with it is that it leaves threads hanging. This is fixed in sqlalchemy main - sqlalchemy/sqlalchemy#13039 but until they release it and until we have the sqlalchemy>=2.0.46, we should upper-bind the aiosqlite
(cherry picked from commit 9b364ca)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

…#60217)

The change in model of aiosqlite impacted sqlalchemy handling of
closing the connection - the way how currrent sqlalchemy works
with it is that it leaves threads hanging. This is fixed
in sqlalchemy main - sqlalchemy/sqlalchemy#13039
but until they release it and until we have the sqlalchemy>=2.0.46,
we should upper-bind the aiosqlite
(cherry picked from commit 9b364ca)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk merged commit f28d275 into apache:v3-1-test Jan 7, 2026
7 checks passed
@potiuk potiuk deleted the backport-9b364ca-v3-1-test branch January 7, 2026 22:39
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 8, 2026
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.6 milestone Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants