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

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

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.

Summary ID
Cap the version of importlib-metadata on Python <= 3.7.
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.
19fee0de1f5fe1a244b3296a3cfe13b292fcf360
chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (f99c284)