pydata-google-auth icon indicating copy to clipboard operation
pydata-google-auth copied to clipboard

Shipped versioneer.py is too old for Python 3.12

Open bnavigator opened this issue 3 months ago • 0 comments

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)

bnavigator avatar Mar 22 '24 20:03 bnavigator