Open alneberg opened 5 months ago
I got this error when installing on python 3.12:
Collecting configparser Downloading configparser-6.0.1-py3-none-any.whl.metadata (10 kB) Downloading configparser-6.0.1-py3-none-any.whl (19 kB) Installing collected packages: configparser Successfully installed configparser-6.0.1 ❯ python setup.py install Traceback (most recent call last): File "/Users/johannesalneberg/repos/bioconda-utils/setup.py", line 34, in <module> version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/johannesalneberg/repos/bioconda-utils/versioneer.py", line 1480, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "/Users/johannesalneberg/repos/bioconda-utils/versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/johannesalneberg/repos/bioconda-utils/versioneer.py", line 342, in get_config_from_root parser = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
I found that the SafeConfigParser has been removed: https://github.com/python/cpython/issues/89336
Downgrading to python 3.10 fixed my issue for this time but thought you might want to know.
I got this error when installing on python 3.12:
I found that the SafeConfigParser has been removed: https://github.com/python/cpython/issues/89336
Downgrading to python 3.10 fixed my issue for this time but thought you might want to know.