Cap the version of Celery to avoid regressions with Python 3.6.

Review Request #12455 — Created July 11, 2022 and submitted

Information

ReviewBot
release-3.x

Reviewers

Celery 5.3 alpha is now up on PyPI, and this is not compatible with
Python 3.6. Technically, Celery 5.2.x wasn't compatible either, but it
did seem to run.

As Celery is apparently not using semantic versioning, we can't trust
that 5.x will remain compatible. We're now capping the version to the
5.1.x range for Python 3.6, and 5.2.x for newer versions.

It also bumps up the minimum version for each range.

Successfully installed packages on each version of Python and ran
unit tests for the extension and worker.

Summary ID
Cap the version of Celery to avoid regressions with Python 3.6.
Celery 5.3 alpha is now up on PyPI, and this is not compatible with Python 3.6. Technically, Celery 5.2.x wasn't compatible either, but it did seem to run. As Celery is apparently not using semantic versioning, we can't trust that 5.x will remain compatible. We're now capping the version to the 5.1.x range for Python 3.6, and 5.2.x for newer versions. It also bumps up the minimum version for each range.
ea4b2cddec3a36234768ed1d2802acd69fd059bf
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (6c7aa3d)