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

Python 3.12 incompatible with versioneer #79

Open
thelostscout opened this issue Feb 13, 2024 · 0 comments
Open

Python 3.12 incompatible with versioneer #79

thelostscout opened this issue Feb 13, 2024 · 0 comments

Comments

@thelostscout
Copy link

When installing bgflow with pip in a conda env based on python 3.12, I find the following error:

File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-zhnn22g8/bgflow_eb74916574b843488e1884c71c62d8f8/setup.py", line 30, in <module>
  version=versioneer.get_version(),
          ^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-zhnn22g8/bgflow_eb74916574b843488e1884c71c62d8f8/versioneer.py", line 1480, in get_version
  return get_versions()["version"]
         ^^^^^^^^^^^^^^
File "/tmp/pip-install-zhnn22g8/bgflow_eb74916574b843488e1884c71c62d8f8/versioneer.py", line 1412, in get_versions
  cfg = get_config_from_root(root)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-zhnn22g8/bgflow_eb74916574b843488e1884c71c62d8f8/versioneer.py", line 342, in get_config_from_root
  parser = configparser.SafeConfigParser()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

According to this comment: pydata/pandas-datareader#969 (comment), versioneer isn't compatible with modern python anymore.

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