You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove deprecated usage of tornado.IOLoop.run_sync #6049
As one of the first steps of removing the tornado IOLoop from the code bas is to remove the usage of IOLoop.run_sync in favour of asyncio.run. The two have semantic differences and require us to touch the way we set up a few of our tests. The way tornado interacts with the event loop via IOLoop.run_sync is deprecated in CPython. This usage is connected to multiple warnings like "pending task while loop is closing", "task not awaited", etc.
Requirements
Deprecated call to IOLoop.run_sync has been replaced by asyncio.run as appropriate
changed the title [-]Replace `tornado.IOLoop.run_sync` with `asyncio.run`[/-][+]Remove deprecated usage of `tornado.IOLoop.run_sync`[/+]on Apr 20, 2022
Activity
Avoid redundant cleanup fixture in gen_test tests (#6118)
[-]Replace `tornado.IOLoop.run_sync` with `asyncio.run`[/-][+]Remove deprecated usage of `tornado.IOLoop.run_sync`[/+]fjetter commentedon Aug 5, 2022
Closing this. The remaining work can be done as part of #6163