Skip to content

Relax aiosqlite cap to allow 0.22.1+ now that SQLAlchemy floor is >=2…#69796

Open
onlyarnav wants to merge 1 commit into
apache:mainfrom
onlyarnav:relax-aiosqlite-cap
Open

Relax aiosqlite cap to allow 0.22.1+ now that SQLAlchemy floor is >=2…#69796
onlyarnav wants to merge 1 commit into
apache:mainfrom
onlyarnav:relax-aiosqlite-cap

Conversation

@onlyarnav

Copy link
Copy Markdown
Contributor

aiosqlite was capped <0.22.0 because 0.22.x left a helper thread hanging
under SQLAlchemy 2 (sqlalchemy#13039), and 0.22.0 itself caused hanging pytest
sessions (aiosqlite#369).

Both issues are now resolved:

  • The pytest hang was fixed in aiosqlite 0.22.1.
  • The SQLAlchemy-side thread hang was fixed in SQLAlchemy 2.0.46.
  • Our SQLAlchemy floor is already >=2.0.48 (locked at 2.0.51).

This PR relaxes the cap from <0.22.0 to !=0.22.0, excluding only the
known-bad 0.22.0 release, and upgrades the locked version to 0.22.1.

related: #69616


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Google Antigravity following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

….0.48

aiosqlite 0.22.0 had a hanging pytest session bug (aiosqlite#369) and also triggered a hanging helper thread under SQLAlchemy 2 (sqlalchemy#13039). The pytest issue was fixed in 0.22.1, and the SQLAlchemy-side fix shipped in 2.0.46. Since our SQLAlchemy floor is already >=2.0.48, we can safely relax the cap from <0.22.0 to !=0.22.0 (excluding only the known-bad 0.22.0 release).

Part of apache#69616.
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.

1 participant