Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python 3.12 configparser removed SafeConfigParser. python/cpython#89336 (comment) leading to this issue ``` Traceback (most recent call last): File "/home/user/.cache/pypoetry/virtualenvs/chapter-marker-bSlZRqHo-py3.12/bin/pflake8", line 5, in <module> from pflake8.__main__ import main File "/home/user/.cache/pypoetry/virtualenvs/chapter-marker-bSlZRqHo-py3.12/lib/python3.12/site-packages/pflake8/__init__.py", line 54, in <module> class DivertingSafeConfigParser(ConfigParserTomlMixin, configparser.SafeConfigParser): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser' ```
- Loading branch information