Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.02k stars 392 forks source link

`uvloop.install()` deprecated starting with Python 3.12 #785

Closed wlhlm closed 6 months ago

wlhlm commented 6 months ago

What happened

Just a heads up: I'm maintaining an unofficial moonraker package for Arch Linux and recently investigated the new optional uvloop (and msgspec) dependencies for potential performance improvements. During that I've noticed that moonraker's usage of uvloop.install() has been deprecated starting with (C)Python 3.12. This does not seem urgent (Arch itself hasn't even switched to py3.12 yet), just an FYI.

Client

Other

Browser

Other or N/A

How to reproduce

N/A

Additional information

No response

Arksine commented 6 months ago

Thanks, this should be resolved in commit 27a02952184e8d253510073704d0e10f2807e06b.

wlhlm commented 6 months ago

Great!