Cap the version of importlib-metadata on Python <= 3.7.

Review Request #13083 — Created May 30, 2023 and submitted — Latest diff uploaded

Information

ReviewBot
release-3.x

Reviewers

Celery 5.2.7 fails to import on Python 3.7 environments when
importlib-metadata >= 5.0 is installed. The celery.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.

Commits

Files