-
Notifications
You must be signed in to change notification settings - Fork 159
Use of asyncio.get_event_loop_policy
deprecated in Python 3.14-dev
#1025
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
Comments
Thanks for bringing this to attention! The asyncio policy deprecation has been coming for quite some time. It's clear that we need to tackle this in pytest-asyncio as well. The preferred way to address the deprecation is to refactor the pytest-asyncio code base accordingly. I'm not sure this is easily possible, though. Alternatively, we can take a similar approach as for the deprecation of We don't currently test against development versions of Python. Therefore, I don't see the priority of addressing this issue as particularly high. |
Adding the ignores to our project to get 3.14 working, the complete list that needs updating is:
|
Close to the first beta, any progress? |
No movement on this, as fas as I can tell. It should be fairly straight forward to implement, though. If nobody is willing to work on this before the Python 3.14 release, I'll implement the changes in my capacity as a maintainer. |
Running 0.25.0 with current Python 3.14-dev yields
Similarly
asyncio.set_event_loop_policy
.The text was updated successfully, but these errors were encountered: