chore(deps): update dependency celery to v5.6.1 #1270
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.5.3→==5.6.1Release Notes
celery/celery (celery)
v5.6.1Compare Source
=====
:release-date: 2025-12-29
:release-by: Tomer Nosrati
What's Changed
See :ref:
whatsnew-5.6for 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
pycurlfromurllib3The switch from
pycurltourllib3for the SQS transport (introduced inCelery 5.5.0 via Kombu) has been reverted due to critical issues affecting SQS
users:
UnknownOperationExceptionerrors causing container crash loopsUsers of the SQS transport must ensure
pycurlis installed. If you removedpycurlafter upgrading to Celery 5.5.0, you will need to reinstall it.Contributed by
@auvipy <https://github.com/auvipy>_ in#​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#​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#​9799 <https://github.com/celery/celery/pull/9799>_.Pending Result Memory Leak: Fixed a memory leak where
AsyncResultsubscriptions were not being cleaned up when results were forgotten.
Contributed by
@tsoos99dev <https://github.com/tsoos99dev>_ in#​9806 <https://github.com/celery/celery/pull/9806>_.ETA Task Memory Limit
New configuration option :setting:
worker_eta_task_limitto prevent out-of-memorycrashes 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
Contributed by
@sashu2310 <https://github.com/sashu2310>_ in#​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:
task_create_missing_queue_type: Sets the queue type for auto-createdqueues (e.g.,
quorum,classic)task_create_missing_queue_exchange_type: Sets the exchange type forauto-created queues
Example usage:
.. code-block:: python
Contributed by
@ghirailghiro <https://github.com/ghirailghiro>_ in#​9815 <https://github.com/celery/celery/pull/9815>_.What's Changed
.. _version-5.6.0rc1:
v5.6.0Compare Source
=====
:release-date: 2025-11-30
:release-by: Tomer Nosrati
Celery v5.6.0 is now available.
Key Highlights
.. _version-5.6.0rc2:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.