Skip to content
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

switch to get_running_loop as get_event_loop is deprecated in python 3.10 #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Narendra-Neerukonda
Copy link

Fixes #398

@boxed
Copy link
Contributor

boxed commented Jun 21, 2021

This would mean dropping support for python 3.5. Not sure about that...

@jktjkt
Copy link
Contributor

jktjkt commented Oct 16, 2021

Python 3.5 has been EOLed upstream in September 2020. Python 3.6 will be EOLed at the end of the year. I think it's better to fix the test suite to run on Python 3.10 instead of supporting a branch that has not been maintained for a year.

@jktjkt
Copy link
Contributor

jktjkt commented Oct 16, 2021

...but it turns out that this patch still triggers a warning because no event loop is running in that pytest's context. I think that #421 is a better approach.

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.

Python 3.10: Deprecation warnings regarding event loop
3 participants