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

DeprecationWarning issued in python 3.10 #713

Open
Jasha10 opened this issue Oct 19, 2021 · 1 comment
Open

DeprecationWarning issued in python 3.10 #713

Jasha10 opened this issue Oct 19, 2021 · 1 comment

Comments

@Jasha10
Copy link

Jasha10 commented Oct 19, 2021

Python 3.10 is now released.
This python release deprecates some parts of the asyncio API.
In particular, it is now deprecated to call asyncio.get_event_loop() if there is no running event loop.
Using python 3.10 to run pytest on the master branch, there are DeprecationWarnings.
Here is one example that comes up with pytest -Werror:

args = (), kwargs = {}

    def wrapped(*args, **kwargs):
        try:
>           loop = asyncio.get_event_loop()
E           DeprecationWarning: There is no current event loop

jupyter_client/utils.py:14: DeprecationWarning
@MSeal
Copy link
Contributor

MSeal commented Oct 20, 2021

Thanks for helping track these -- we need to do passes on deprecated capabilities across the jupyter repos

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

No branches or pull requests

2 participants