aiofiles icon indicating copy to clipboard operation
aiofiles copied to clipboard

Deprecation on get_event_loop()

Open davesteele opened this issue 3 years ago • 2 comments

I have a report on a test failure due to the deprecation of a get_event_loop() call (https://github.com/davesteele/aiofiles/pull/2). This patch changes the other occurrences of that call.

davesteele avatar Jan 27 '22 19:01 davesteele

Don't think that's the right change though. What about get_running_loop?

Tinche avatar Jan 27 '22 22:01 Tinche

I'm not the expert here. Didn't even know the loop policy call existed.

davesteele avatar Jan 27 '22 23:01 davesteele

Debian has upgraded Python to 3.11 in prep for the impending Stable Freeze. CI tests are failing due to the Deprecation warning, and packages using this code will get the warning.

davesteele avatar Jan 22 '23 00:01 davesteele

Thanks for the heads-up, I can replace the calls and do a release soon (in a few days).

Tinche avatar Jan 22 '23 00:01 Tinche

Should be fixed on main!

Tinche avatar Feb 09 '23 01:02 Tinche

Released.

davesteele avatar Feb 16 '23 02:02 davesteele