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


^ 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.

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
@jscheffl jscheffl merged commit 9b364ca into apache:main Jan 7, 2026
99 checks passed
@jscheffl
Copy link
Contributor

jscheffl commented Jan 7, 2026

Backport to v3-1-test?

potiuk added a commit to potiuk/airflow that referenced this pull request Jan 7, 2026
…#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 added a commit that referenced this pull request Jan 7, 2026
#60245)

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)
@potiuk
Copy link
Member Author

potiuk commented Jan 7, 2026

Backport to v3-1-test?

Yep. #60245

@potiuk potiuk added this to the Airflow 3.1.6 milestone Jan 7, 2026
chirodip98 pushed a commit to chirodip98/airflow-contrib that referenced this pull request Jan 9, 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
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants