-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/test_run_app.py::TestShutdown
hang on py3.13 with aiohappyeyeballs == 2.4.2
#9325
Comments
Ah, sorry, just noticed it was mentioned already in #8599 (comment). |
Yeah, this is already reproducing in CI and bdraco is looking at it. |
I haven't had much luck with this one yet. It looks like there may be a change in cancellation semantics with python 3.13 or its just a race. |
maybe python/cpython#117407 |
['parent_cancel_requested', True] |
If I revert python/cpython#117407 the problem goes away |
When the task group exits the parent task is getting cancelled |
I think the cancellation is somehow leaking upwards in 3.13... |
In |
Maybe its that the cancellation is raised sooner in 3.13 ? |
Looks like it is our bug #9326 |
Thanks a lot! |
I'll try to find time to do another patch release this weekend so this doesn't bite users when they update to 3.13 on Tuesday #9326 (comment) |
@bdraco, for the record, it seems that the release has been deferred to October 7th. Not that I wouldn't like to see a fix ASAP :-). |
Thanks for the heads up. I'll be traveling that week, and I also have a busy week with my day job coming up so I still plan on getting a new release done ASAP. |
3.10.8 published with the fix |
Describe the bug
After upgrading to
aiohappyeyeballs == 2.4.2
, the following four tests started hanging with Python 3.13.0rc2:After downgrading to
aiohappyeyeballs == 2.4.0
, all tests pass again.FWICS CI hit it already in #9310, but I think you can't easily guess which tests hanged from its output.
To Reproduce
aiohappyeyeballs == 2.4.2
.Expected behavior
Tests passing :-).
Logs/tracebacks
Python Version
aiohttp Version
multidict Version
yarl Version
OS
Gentoo Linux amd64
Related component
Server
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: