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

Incompatible with Python 3.12 #105

Open
rochecompaan opened this issue Dec 8, 2024 · 0 comments
Open

Incompatible with Python 3.12 #105

rochecompaan opened this issue Dec 8, 2024 · 0 comments

Comments

@rochecompaan
Copy link

Upgrading my project to Python 3.12 runs into the following error:

   from pyramid_celery import celery_app
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
    exec(co, module.__dict__)
venv/lib/python3.12/site-packages/pyramid_celery/__init__.py:6: in <module>
    from pyramid_celery.loaders import INILoader
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
    exec(co, module.__dict__)
venv/lib/python3.12/site-packages/pyramid_celery/loaders.py:94: in <module>
    class INILoader(celery.loaders.base.BaseLoader):
venv/lib/python3.12/site-packages/pyramid_celery/loaders.py:95: in INILoader
    ConfigParser = configparser.SafeConfigParser
E   AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

It seems there was an attempt to address this in a PR created last year: #94.

Is this package still maintained?

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