warner / python-ed25519

Python bindings to the Ed25519 public-key signature system
Other
164 stars 38 forks source link

Installer incompatible with Python 3.12 #20

Open philpennock opened 12 months ago

philpennock commented 12 months ago

Attempting to install this Python module under Python 3.12.0 fails, because of the legacy API removals in configparser, see https://docs.python.org/3.12/whatsnew/3.12.html#configparser

        File "/home/pdp/tmp/pip-install-2veuinio/ed25519_edac44b7ec634c7a8d71316cd0dfedea/versioneer.py", line 399, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
effigies commented 9 months ago

The versioneer issue is resolved, but an old versioneer is vendored here. Upgrade with pipx run versioneer install.

See https://github.com/python-versioneer/python-versioneer/blob/master/UPGRADING.md for any migration issues.

browolf commented 2 months ago

This is still an issue and adding versioneer adds more problems I don't understand