-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Incompatibility with Python3.12
To Reproduce
Steps to reproduce the behavior:
- Install Python 3.12
- try to install QuNetSim with python 3.12 via source.
Expected behavior
It installs
System:
- OS: Linux
- Python Version: 3.12
Additional context
File "/tmp/pip-install-d3va927h/matplotlib_e523aa53e62047199068608501c29b62/versioneer.py", line 401, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
in python 3.12 SafeConfigParser no longer exists.
Solution
- Use
ConfigParserinstead. - Or downgrade to python 3.11
- change project docs to reflect that python version needs to be below 3.12
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working