-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Regressions from Python 3.14.0a1 to 3.14.0a2 #384
Comments
This is an excellent excuse to moderize the async tests using |
Not sure if the errors on the 3.14 are all gone, but I have cleaned up all usages of |
Thanks! I can confirm that |
Describe the bug
Since Python 3.14.0a2,
asyncio.get_event_loop()
no longer implicitly creates an event loop when there is none. It now raises a RuntimeError if there is no current event loop. See https://docs.python.org/dev/whatsnew/3.14.html#id3 and python/cpython#126353.The result is a large number of test failures in
python-engineio
on Python 3.14.0a2.To Reproduce
Steps to reproduce the behavior:
Expected behavior
All tests pass, as they do on
py313
and as they did in Python 3.14.0a1.Logs
Additional context
This was reported downstream in Fedora, where we are already checking compatibility of packages with Python 3.14.
The text was updated successfully, but these errors were encountered: