Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioneer seems to be broken on python3.12 #87

Open
ferrine opened this issue Jul 31, 2024 · 0 comments
Open

Versioneer seems to be broken on python3.12 #87

ferrine opened this issue Jul 31, 2024 · 0 comments

Comments

@ferrine
Copy link

ferrine commented Jul 31, 2024

Traceback

error: builder for '/nix/store/klb2gzpffqv0hpwydv2v1rba6yarmlyr-python3.12-xhistogram-0.3.2.drv' failed with exit code 1;
       last 25 log lines:
       >   File "/nix/store/j3xg6ln22ng7b3qcs1dpha12x1kyldzd-python3.12-pyproject-hooks-1.0.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
       >     return hook(config_settings)
       >            ^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/xnd1jdqjqdva8aqcbgw9ynmnfphpkzcy-python3.12-setuptools-70.0.0/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
       >     return self._get_build_requires(config_settings, requirements=['wheel'])
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/xnd1jdqjqdva8aqcbgw9ynmnfphpkzcy-python3.12-setuptools-70.0.0/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
       >     self.run_setup()
       >   File "/nix/store/xnd1jdqjqdva8aqcbgw9ynmnfphpkzcy-python3.12-setuptools-70.0.0/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup
       >     super().run_setup(setup_script=setup_script)
       >   File "/nix/store/xnd1jdqjqdva8aqcbgw9ynmnfphpkzcy-python3.12-setuptools-70.0.0/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
       >     exec(code, locals())
       >   File "<string>", line 36, in <module>
       >   File "/private/tmp/nix-build-python3.12-xhistogram-0.3.2.drv-0/xhistogram-0.3.2/versioneer.py", line 1524, in get_version
       >     return get_versions()["version"]
       >            ^^^^^^^^^^^^^^
       >   File "/private/tmp/nix-build-python3.12-xhistogram-0.3.2.drv-0/xhistogram-0.3.2/versioneer.py", line 1451, in get_versions
       >     cfg = get_config_from_root(root)
       >           ^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/private/tmp/nix-build-python3.12-xhistogram-0.3.2.drv-0/xhistogram-0.3.2/versioneer.py", line 346, in get_config_from_root
       >     parser = configparser.SafeConfigParser()
       >              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       > AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant