Skip to content

build fails with python 3.11.0a1 #268

Description

@opoplawski

python-ecdsa fails to build with Python 3.11.0a1.

Traceback (most recent call last):
  File "/builddir/build/BUILD/ecdsa-0.17.0/setup.py", line 19, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/ecdsa-0.17.0/versioneer.py", line 1538, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/ecdsa-0.17.0/versioneer.py", line 1465, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/ecdsa-0.17.0/versioneer.py", line 346, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Removed from the configparser module: the SafeConfigParser class, the filename
property of the ParsingError class, the readfp() method of the ConfigParser
class, deprecated since Python 3.2. (Contributed by Hugo van Kemenade in
bpo-45173.)
https://docs.python.org/3.11/whatsnew/3.11.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunintended behaviour in ecdsa codemaintenanceissues related to making the project usable or testable

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions