Skip to content

Conversation

@davidlehn
Copy link
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
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