Skip to content

Celery version needs to be upgraded #25

@soft-boy

Description

@soft-boy

Following the set up instructions for the Flask web service, I get this error:

ImportError: cannot import name 'Celery' from 'celery' (/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/celery/init.py)
[2025-10-19 12:16:34 -0700] [6409] [INFO] Worker exiting (pid: 6409)
[2025-10-19 12:16:34 -0700] [6408] [INFO] Shutting down: Master
[2025-10-19 12:16:34 -0700] [6408] [INFO] Reason: Worker failed to boot.

The issue is due to Celery 5.2.6 not being compatible with the latest Python version. It can be solved by upgrading Celery to 5.4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions