-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
Two files import from distutils, which was deprecated in Python 3.10 and fully removed in Python 3.12:
-
src/cryptoadvance/specter/server.py(line 4):
from distutils.core import setup
This import doesn't even seem to be used anywhere in the file. It can just be deleted. -
src/cryptoadvance/specter/util/common.py(line 7):
from distutils.util import strtobool
This is actually used, but it's easy to replace with a small helper function that does the same thing.
If someone tries to run Specter on Python 3.12 or newer, it will crash on startup with a ModuleNotFoundError: No module named 'distutils'. Since the project is actively maintained and people will eventually move to newer Python versions, this should probably be fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels