-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels