devsnd / cherrymusic

Stream your own music collection to all your devices! The easy to use free and open-source music streaming server.
http://www.fomori.org/cherrymusic
GNU General Public License v3.0
1.03k stars 189 forks source link

Fix import error from ABC classes in Python >= 3.10 #733

Closed tilboerner closed 2 years ago

tilboerner commented 2 years ago

Python 3.10 is out and stable, and is becoming the standard in distros such as Arch. This breaks CherryMusic for die-hard fans, and they're starting to request patches, for example in the AUR package and #732.

I patched away the import errors that were mentioned, and gave the server a quick spin on my Arch box to see what else might be breaking. Everything looked good, at least the core features seem to be fine.

I'm wondering if we could merge this and make a release that would work with Py 3.10 to help out folks who would still like to run CherryMusic today.

devsnd commented 2 years ago

Thanks a lot for preparing the fix! I'll merge it right away (on my phone, on the go) and I hope to be able to publish a new version asap. Until then the AUR could use the master branch to make sure that CM still runs on python 3.10