Cap the version of importlib-metadata on Python <= 3.7.
Review Request #13083 — Created May 30, 2023 and submitted — Latest diff uploaded
Celery 5.2.7 fails to import on Python 3.7 environments when
importlib-metadata
>= 5.0 is installed. Thecelery.Celery
import
fails.To resolve this, we need to cap
importlib-metadata
on older versions
of Python.
Successfully installed on a Python 3.7 environment and verified that
celery.Celery
could be imported.