Display Python and Celery info and deprecation warnings on startup.

Review Request #12158 — Created March 16, 2022 and submitted

Information

ReviewBot
release-3.0.x

Reviewers

When starting the worker, we now check the Python version. If it's
Python 2, we warn that Python 2 and Celery 3 are no longer supported and
may have security risks, recommending an upgrade to Python 3.

If running on Python 3, we show the Python and Celery versions (as a
reference) and have a general recommendation to keep up with versions.

Tested running under Python 2 and 3, checking the resulting output
and version numbers.

Summary ID
Display Python and Celery info and deprecation warnings on startup.
When starting the worker, we now check the Python version. If it's Python 2, we warn that Python 2 and Celery 3 are no longer supported and may have security risks, recommending an upgrade to Python 3. If running on Python 3, we show the Python and Celery versions (as a reference) and have a general recommendation to keep up with versions.
7d72b9bcaa64488d2775fd97fbc3685715ef69f9
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (1daff2f)
Loading...