Repository navigation
Updating to anyio 4.16.0 will produce two test regressions #1309
Answered
by
g4lb
musicinmybrain
asked this question in
Q&A
|
Downstream in Fedora, I’ve been looking at Note that It’s not immediately obvious to me what needs to be changed here, so I don’t have a PR to offer. I suppose this dicussion is just an advance notice of what your CI ought to start telling you a few days from now. |
Answered by
g4lb
Nov 2, 2026
Replies: 1 comment 6 replies
|
The cause is anyio #1391. Closing a memory stream now wakes a blocked
await self._receive_queue.aclose()
await self._send_queue.send_stream.aclose()
await anyio.lowlevel.checkpoint()
await self._send_queue.receive_stream.aclose() |
6 replies
Answer selected by
musicinmybrain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The cause is anyio #1391. Closing a memory stream now wakes a blocked
receive()withClosedResourceError, notEndOfStream. My tests:receive()- 4.15.1EndOfStream, 4.16.0ClosedResourceError_transport.pyaclose()- 190 websocket tests pass on 4.15.1 and 4.16.0