Skip to content

chore(deps): update dependency celery to v5.6.3#41

Open
renovate[bot] wants to merge 1 commit into
alphafrom
renovate/celery-5.x-lockfile
Open

chore(deps): update dependency celery to v5.6.3#41
renovate[bot] wants to merge 1 commit into
alphafrom
renovate/celery-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 14, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
celery (source, changelog) 5.5.25.6.3 age confidence

Release Notes

celery/celery (celery)

v5.6.3

Compare Source

What's Changed

New Contributors

Full Changelog: celery/celery@v5.6.2...v5.6.3

v5.6.2

Compare Source

=====

:release-date: 2026-01-04
:release-by: Tomer Nosrati

What's Changed


- Fix recursive WorkController instantiation in DjangoWorkerFixup + AttributeError when pool_cls is a string (#​10045)
- Bugfix: Revoked tasks now immediately update backend status to REVOKED (#​9869)
- Prepare for release: v5.6.2 (#​10049)

.. _version-5.6.1:

5.6.1
=====

:release-date: 2025-12-29
:release-by: Tomer Nosrati

What's Changed
  • Fix Redis Sentinel ACL authentication support (#​10013)
  • Fix: Broker heartbeats not sent during graceful shutdown (#​9986)
  • docs #​5410 -- Document confirm_publish broker transport option (#​10016)
  • close DB pools only in prefork mode (#​10020)
  • Fix: Avoid unnecessary Django database connection creation during cleanup (#​10015)
  • reliable prefork detection (#​10023)
  • better coverage (#​10029)
  • Docs: clarify result_extended vs periodic task metadata and show headers["periodic_task_name"] example (#​10030)
  • Stop importing pytest_subtests (#​10032)
  • Only use exceptiongroup backport for Python < 3.11 (#​10033)
  • Prepare for release: v5.6.1 (#​10037)

.. _version-5.6.0:

v5.6.1

Compare Source

=====

:release-date: 2025-12-29
:release-by: Tomer Nosrati

What's Changed


- Fix Redis Sentinel ACL authentication support (#&#8203;10013)
- Fix: Broker heartbeats not sent during graceful shutdown (#&#8203;9986)
- docs #&#8203;5410 -- Document confirm_publish broker transport option (#&#8203;10016)
- close DB pools only in prefork mode (#&#8203;10020)
- Fix: Avoid unnecessary Django database connection creation during cleanup (#&#8203;10015)
- reliable prefork detection (#&#8203;10023)
- better coverage (#&#8203;10029)
- Docs: clarify `result_extended` vs periodic task metadata and show `headers["periodic_task_name"]` example (#&#8203;10030)
- Stop importing pytest_subtests (#&#8203;10032)
- Only use exceptiongroup backport for Python < 3.11 (#&#8203;10033)
- Prepare for release: v5.6.1 (#&#8203;10037)

.. _version-5.6.0:

5.6.0
=====

:release-date: 2025-11-30
:release-by: Tomer Nosrati

Celery v5.6.0 is now available.

Key Highlights

See :ref:whatsnew-5.6 for a complete overview or read the main highlights below.

Python 3.9 Minimum Version

Celery 5.6.0 drops support for Python 3.8 (EOL). The minimum required Python
version is now 3.9. Users still on Python 3.8 must upgrade their Python version
before upgrading to Celery 5.6.0.

Additionally, this release includes initial support for Python 3.14.

SQS: Reverted to pycurl from urllib3

The switch from pycurl to urllib3 for the SQS transport (introduced in
Celery 5.5.0 via Kombu) has been reverted due to critical issues affecting SQS
users:

  • Processing throughput dropped from ~100 tasks/sec to ~3/sec in some environments
  • UnknownOperationException errors causing container crash loops
  • Silent message processing failures with no error logs

Users of the SQS transport must ensure pycurl is installed. If you removed
pycurl after upgrading to Celery 5.5.0, you will need to reinstall it.

Contributed by @auvipy <https://github.com/auvipy>_ in
#&#8203;9620 <https://github.com/celery/celery/pull/9620>_.

Security Fix: Broker Credential Leak Prevention

Fixed a security issue where broker URLs containing passwords were being logged
in plaintext by the delayed delivery mechanism. Broker credentials are now
properly sanitized in all log output.

Contributed by @giancarloromeo <https://github.com/giancarloromeo>_ in
#&#8203;9997 <https://github.com/celery/celery/pull/9997>_.

Memory Leak Fixes

Two significant memory leaks have been fixed in this release:

Exception Handling Memory Leak: Fixed a critical memory leak in task exception
handling that was particularly severe on Python 3.11+ due to enhanced traceback
data. The fix properly breaks reference cycles in tracebacks to allow garbage
collection.

Contributed by @jaiganeshs21 <https://github.com/jaiganeshs21>_ in
#&#8203;9799 <https://github.com/celery/celery/pull/9799>_.

Pending Result Memory Leak: Fixed a memory leak where AsyncResult
subscriptions were not being cleaned up when results were forgotten.

Contributed by @tsoos99dev <https://github.com/tsoos99dev>_ in
#&#8203;9806 <https://github.com/celery/celery/pull/9806>_.

ETA Task Memory Limit

New configuration option :setting:worker_eta_task_limit to prevent out-of-memory
crashes when workers fetch large numbers of ETA or countdown tasks. Previously,
workers could exhaust available memory when the broker contained many scheduled tasks.

Example usage:

.. code-block:: python

app.conf.worker_eta_task_limit = 1000

Contributed by @sashu2310 <https://github.com/sashu2310>_ in
#&#8203;9853 <https://github.com/celery/celery/pull/9853>_.

Queue Type Selection for Auto-created Queues

New configuration options allow specifying the queue type and exchange type when
Celery auto-creates missing queues. This is particularly useful for RabbitMQ users
who want to use quorum queues with auto-created queues.

Configuration options:

  • :setting:task_create_missing_queue_type: Sets the queue type for auto-created
    queues (e.g., quorum, classic)
  • :setting:task_create_missing_queue_exchange_type: Sets the exchange type for
    auto-created queues

Example usage:

.. code-block:: python

app.conf.task_create_missing_queue_type = 'quorum'

Contributed by @ghirailghiro <https://github.com/ghirailghiro>_ in
#&#8203;9815 <https://github.com/celery/celery/pull/9815>_.

What's Changed


- Prepare for release: v5.6.0 (#&#8203;10010)

.. _version-5.6.0rc2:

5.6.0rc2
========

:release-date: 2025-11-22
:release-by: Tomer Nosrati

Celery v5.6.0 Release Candidate 2 is now available for testing.
Please help us test this version and report any issues.

What's Changed
  • Remove Python 4.0 version condition for pytest dependencies (#​9993)
  • Sanitize broker URL in delayed delivery logs (avoid leaking credentials) (#​9997)
  • Don't fail task on timeout during cold shutdown (#​9678)
  • Add Py39-314t to CI (#​9999)
  • asynpool: Don't return from inside a finally block (#​10000)
  • Prepare for (pre) release: v5.6.0rc2 (#​10005)

.. _version-5.6.0rc1:

v5.6.0

Compare Source

=====

:release-date: 2025-11-30
:release-by: Tomer Nosrati

Celery v5.6.0 is now available.

Key Highlights


See :ref:`whatsnew-5.6` for a complete overview or read the main highlights below.

Python 3.9 Minimum Version
--------------------------

Celery 5.6.0 drops support for Python 3.8 (EOL). The minimum required Python
version is now 3.9. Users still on Python 3.8 must upgrade their Python version
before upgrading to Celery 5.6.0.

Additionally, this release includes initial support for Python 3.14.

SQS: Reverted to ``pycurl`` from ``urllib3``
--------------------------------------------

The switch from ``pycurl`` to ``urllib3`` for the SQS transport (introduced in
Celery 5.5.0 via Kombu) has been reverted due to critical issues affecting SQS
users:

- Processing throughput dropped from ~100 tasks/sec to ~3/sec in some environments
- ``UnknownOperationException`` errors causing container crash loops
- Silent message processing failures with no error logs

Users of the SQS transport must ensure ``pycurl`` is installed. If you removed
``pycurl`` after upgrading to Celery 5.5.0, you will need to reinstall it.

Contributed by `@auvipy <https://github.com/auvipy>`_ in
`#&#8203;9620 <https://github.com/celery/celery/pull/9620>`_.

Security Fix: Broker Credential Leak Prevention
------------------------------------------------

Fixed a security issue where broker URLs containing passwords were being logged
in plaintext by the delayed delivery mechanism. Broker credentials are now
properly sanitized in all log output.

Contributed by `@giancarloromeo <https://github.com/giancarloromeo>`_ in
`#&#8203;9997 <https://github.com/celery/celery/pull/9997>`_.

Memory Leak Fixes
-----------------

Two significant memory leaks have been fixed in this release:

**Exception Handling Memory Leak**: Fixed a critical memory leak in task exception
handling that was particularly severe on Python 3.11+ due to enhanced traceback
data. The fix properly breaks reference cycles in tracebacks to allow garbage
collection.

Contributed by `@jaiganeshs21 <https://github.com/jaiganeshs21>`_ in
`#&#8203;9799 <https://github.com/celery/celery/pull/9799>`_.

**Pending Result Memory Leak**: Fixed a memory leak where ``AsyncResult``
subscriptions were not being cleaned up when results were forgotten.

Contributed by `@tsoos99dev <https://github.com/tsoos99dev>`_ in
`#&#8203;9806 <https://github.com/celery/celery/pull/9806>`_.

ETA Task Memory Limit
---------------------

New configuration option :setting:`worker_eta_task_limit` to prevent out-of-memory
crashes when workers fetch large numbers of ETA or countdown tasks. Previously,
workers could exhaust available memory when the broker contained many scheduled tasks.

Example usage:

.. code-block:: python

    app.conf.worker_eta_task_limit = 1000

Contributed by `@sashu2310 <https://github.com/sashu2310>`_ in
`#&#8203;9853 <https://github.com/celery/celery/pull/9853>`_.

Queue Type Selection for Auto-created Queues
--------------------------------------------

New configuration options allow specifying the queue type and exchange type when
Celery auto-creates missing queues. This is particularly useful for RabbitMQ users
who want to use quorum queues with auto-created queues.

Configuration options:

- :setting:`task_create_missing_queue_type`: Sets the queue type for auto-created
  queues (e.g., ``quorum``, ``classic``)
- :setting:`task_create_missing_queue_exchange_type`: Sets the exchange type for
  auto-created queues

Example usage:

.. code-block:: python

    app.conf.task_create_missing_queue_type = 'quorum'

Contributed by `@ghirailghiro <https://github.com/ghirailghiro>`_ in
`#&#8203;9815 <https://github.com/celery/celery/pull/9815>`_.

What's Changed

.. _version-5.6.0rc2:

v5.5.3

Compare Source

=====

:release-date: 2025-06-01
:release-by: Tomer Nosrati

What's Changed


- make the tests run on python 3.13 for gcs backend (#&#8203;9677)
- Added DeepWiki to README (#&#8203;9683)
- Limit redis to <=v5.2.1 to match Kombu (#&#8203;9693)
- Use EX_OK instead of literal zero (#&#8203;9684)
- Make wheel metadata reproducible (#&#8203;9687)
- let celery install from kombu dependencies for better align (#&#8203;9696)
- Fix stamping documentation to clarify stamped_headers key is optional in visitor methods (#&#8203;9697)
- Support apply_async without queue argument on quorum queues (#&#8203;9686)
- Updated rabbitmq doc about using quorum queues with task routes (#&#8203;9707)
- Add: Dumper Unit Test (#&#8203;9711)
- Add unit test for event.group_from (#&#8203;9709)
- refactor: add beat_cron_starting_deadline documentation warning (#&#8203;9712)
- fix: resolve issue #&#8203;9569 by supporting distinct broker transport options for workers (#&#8203;9695)
- Fixes issue with retry callback arguments in DelayedDelivery (#&#8203;9708)
- get_exchange-unit-test (#&#8203;9710)
- ISSUE-9704: Update documentation of result_expires, filesystem backend is supported (#&#8203;9716)
- update to blacksmith ubuntu 24.04 (#&#8203;9717)
- Added unit tests for celery.utils.iso8601 (#&#8203;9725)
- Update introduction.rst docs (#&#8203;9728)
- Prepare for release: v5.5.3 (#&#8203;9732)

.. _version-5.5.2:

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@sourcery-ai

sourcery-ai Bot commented Jun 14, 2025

Copy link
Copy Markdown

Reviewer's Guide

Bump Celery dependency from v5.5.2 to v5.5.3 by regenerating the Poetry lock file.

File-Level Changes

Change Details Files
Celery dependency upgraded to 5.5.3
  • Updated the Celery entry version in poetry.lock
  • Refreshed checksums and metadata for dependencies
poetry.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch 2 times, most recently from ab0d0b1 to f201fdb Compare July 14, 2025 19:01
@renovate renovate Bot changed the title fix(deps): update dependency celery to v5.5.3 chore(deps): update dependency celery to v5.5.3 Sep 25, 2025
@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.5.3 chore(deps): update dependency celery to v5.5.3 - abandoned Nov 12, 2025
@renovate

renovate Bot commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.5.3 - abandoned chore(deps): update dependency celery to v5.5.3 Nov 13, 2025
@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.5.3 chore(deps): update dependency celery to v5.6.0 Nov 30, 2025
@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch from f201fdb to 3c34f39 Compare November 30, 2025 20:32
@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch from 3c34f39 to 7bf2b38 Compare December 30, 2025 01:52
@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.6.0 chore(deps): update dependency celery to v5.6.1 Dec 30, 2025
@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch from 7bf2b38 to 26a32a1 Compare January 4, 2026 18:11
@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.6.1 chore(deps): update dependency celery to v5.6.2 Jan 4, 2026
@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch from 26a32a1 to 873d3ad Compare March 26, 2026 13:04
@renovate renovate Bot changed the title chore(deps): update dependency celery to v5.6.2 chore(deps): update dependency celery to v5.6.3 Mar 26, 2026
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| pypi       | celery  | 5.5.2 | 5.6.3 |
@renovate
renovate Bot force-pushed the renovate/celery-5.x-lockfile branch from 873d3ad to 4d35bcd Compare July 21, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants