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

suppress tornado deprecation warnings #882

Merged

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Jun 17, 2022

should get tests tests passing with tornado 6.2

tornado's following asyncio's lead in deprecating the concept of a 'current' event loop that's not running. This mostly affects our initialization/event-loop-starting code which is in serverapp.py and the test fixtures (largely in pytest-tornasync), since the event loop's running for everything else.

Rather than fully hiding the warnings, just avoid errors (I treated the equivalent asyncio warning the same). It's still useful info to know the warnings are being triggered.

We can use #876 to track avoiding these deprecations

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073 blink1073 merged commit 544f7d3 into jupyter-server:main Jun 17, 2022
@blink1073
Copy link
Contributor

@meeseeksdev please backport to 1.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyter_server that referenced this pull request Jun 22, 2022
blink1073 pushed a commit that referenced this pull request Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants