Skip to content

Update aiohttp support for Python 3.14. - #208

Merged
mielvds merged 7 commits into
add-github-workflowfrom
update-aiohttp-support
Nov 12, 2025
Merged

Update aiohttp support for Python 3.14.#208
mielvds merged 7 commits into
add-github-workflowfrom
update-aiohttp-support

Conversation

@davidlehn

Copy link
Copy Markdown
Member
  • Update aiohttp document loader to work with Python 3.14.
    • Minimize async related changes to library code in this release.
    • In sync environment use asyncio.run.
    • In async environment use background thread.
  • AI pair programming used for this patch. This seemed to be the best of a few alternatives to fix Python 3.14 support while minimizing other changes. Future work could enable better concurrency.

This change could use review from someone more familiar with asyncio/aiohttp. It might be good enough for now.

- Only test with supported Python versions.
- Drop testing of 3.8 - 3.9.
- Require >= 3.10.
- Add testing of 3.13 - 3.14.
- Lint with 3.14.
- Update aiohttp document loader to work with Python 3.14.
  - Minimize async related changes to library code in this release.
  - In sync environment use `asyncio.run`.
  - In async environment use background thread.
- AI pair programming used for this patch. This seemed to be the best of
  a few alternatives to fix Python 3.14 support while minimizing other
  changes. Future work could enable better concurrency.
@davidlehn
davidlehn force-pushed the update-aiohttp-support branch from 5589334 to f7876f3 Compare November 7, 2025 15:13
@davidlehn
davidlehn force-pushed the add-github-workflow branch from 01fe0f8 to f9772ea Compare November 7, 2025 15:14
@BigBlueHat
BigBlueHat requested a review from mielvds November 7, 2025 15:24
@mielvds mielvds modified the milestones: v3.0.0, v2.0.5 Nov 12, 2025
@mielvds

mielvds commented Nov 12, 2025

Copy link
Copy Markdown
Collaborator

Looks good! I got a bit mixed up with the versioning, but I'll take that up in de parent PR.

@mielvds
mielvds merged commit 5598834 into add-github-workflow Nov 12, 2025
13 checks passed
@davidlehn
davidlehn deleted the update-aiohttp-support branch November 14, 2025 21:51
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