Skip to content

migrate away from versioneer for versioning #74

Open
@bnavigator

Description

@bnavigator

Replacing it by a more recent version fixes it. But you might also consider migrating to another versioning tool and PEP517 build system.

[   15s] + /usr/bin/python3.12 setup.py build '--executable=/usr/bin/python3.12 -s'
[   15s] /home/abuild/rpmbuild/BUILD/pydata-google-auth-1.8.2/versioneer.py:433: SyntaxWarning: invalid escape sequence '\s'
[   15s]   ] = '''
[   16s] Traceback (most recent call last):
[   16s]   File "/home/abuild/rpmbuild/BUILD/pydata-google-auth-1.8.2/setup.py", line 29, in <module>
[   16s]     version=versioneer.get_version(),
[   16s]             ^^^^^^^^^^^^^^^^^^^^^^^^
[   16s]   File "/home/abuild/rpmbuild/BUILD/pydata-google-auth-1.8.2/versioneer.py", line 1525, in get_version
[   16s]     return get_versions()["version"]
[   16s]            ^^^^^^^^^^^^^^
[   16s]   File "/home/abuild/rpmbuild/BUILD/pydata-google-auth-1.8.2/versioneer.py", line 1452, in get_versions
[   16s]     cfg = get_config_from_root(root)
[   16s]           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[   16s]   File "/home/abuild/rpmbuild/BUILD/pydata-google-auth-1.8.2/versioneer.py", line 347, in get_config_from_root
[   16s]     parser = configparser.SafeConfigParser()
[   16s]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[   16s] AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[   16s] error: Bad exit status from /var/tmp/rpm-tmp.mxBgip (%build)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions