Skip to content

fix(ci): pin aiohttp<3.13 in the testing env#290

Merged
odesenfans merged 1 commit into
mainfrom
od/pin-aiohttp-testing
Jun 11, 2026
Merged

fix(ci): pin aiohttp<3.13 in the testing env#290
odesenfans merged 1 commit into
mainfrom
od/pin-aiohttp-testing

Conversation

@odesenfans

Copy link
Copy Markdown
Contributor

Main CI (and every PR) has been red for at least 5 days: the 23 vm client test failures are aiohttp 3.13+ changing ClientResponse.init (new stream_writer kwarg), which aioresponses cannot mock, including the latest 0.7.8.

Verified locally: with aiohttp 3.14 + aioresponses 0.7.6 or 0.7.8 the 23 tests fail; with aiohttp 3.12.15 all 32 vm tests pass.

This pins aiohttp<3.13 in the hatch testing env only. The runtime requirement stays aiohttp>=3.8.3. The pin can be dropped once aioresponses supports aiohttp 3.13.

🤖 Generated with Claude Code

aiohttp 3.13 changed ClientResponse.__init__ (new stream_writer kwarg)
and aioresponses, including the latest 0.7.8, cannot mock it. This has
been failing the vm client tests (23 of them) in CI since the resolver
started picking aiohttp 3.13+, including the nightly runs on main. The
pin is test-only; the runtime requirement stays aiohttp>=3.8.3.
@github-actions

Copy link
Copy Markdown

Failed to retrieve llama text: POST 502: Bad Gateway

@foxpatch-aleph foxpatch-aleph left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimal, correct fix for a CI breakage caused by aiohttp 3.13. The pin is scoped to the testing env only, leaving the runtime dependency unchanged. The comment explains the root cause and when the pin can be removed.

@odesenfans odesenfans merged commit 474bd8a into main Jun 11, 2026
38 checks passed
@odesenfans odesenfans deleted the od/pin-aiohttp-testing branch June 11, 2026 21:17
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.

2 participants