Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.66k stars 150 forks source link

Deprecation on get_event_loop() #129

Closed davesteele closed 1 year ago

davesteele commented 2 years ago

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.

Tinche commented 2 years ago

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

davesteele commented 2 years ago

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

davesteele commented 1 year ago

Outstanding get_event_loop() calls.

davesteele commented 1 year ago

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.

Tinche commented 1 year ago

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

Tinche commented 1 year ago

Should be fixed on main!

davesteele commented 1 year ago

Released.