fix(deps): update dependency celery to v5.5.0 #65

Merged
kumi merged 2 commits from renovate/celery-5.x-lockfile into main 2025-04-02 05:31:11 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
celery (source, changelog) dependencies minor 5.4.0 -> 5.5.0

Release Notes

celery/celery (celery)

v5.5.0

Compare Source

=====

:release-date: 2025-03-31
:release-by: Tomer Nosrati

Celery v5.5.0 is now available.

Key Highlights


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

Redis Broker Stability Improvements
-----------------------------------

Long-standing disconnection issues with the Redis broker have been identified and
resolved in Kombu 5.5.0, which is included with this release. These improvements
significantly enhance stability when using Redis as a broker.

Additionally, the Redis backend now has better exception handling with the new
``exception_safe_to_retry`` feature, which improves resilience during temporary
Redis connection issues. See :ref:`conf-redis-result-backend` for complete
documentation.

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

``pycurl`` replaced with ``urllib3``
------------------------------------

Replaced the :pypi:`pycurl` dependency with :pypi:`urllib3`.

We're monitoring the performance impact of this change and welcome feedback from users
who notice any significant differences in their environments.

Contributed by `@spawn-guy <https://github.com/spawn-guy>`_ in Kombu
`#&#8203;2134 <https://github.com/celery/kombu/pull/2134>`_ and integrated in Celery via
`#&#8203;9526 <https://github.com/celery/celery/pull/9526>`_.

RabbitMQ Quorum Queues Support
------------------------------

Added support for RabbitMQ's new `Quorum Queues <https://www.rabbitmq.com/docs/quorum-queues>`_
feature, including compatibility with ETA tasks. This implementation has some limitations compared
to classic queues, so please refer to the documentation for details.

`Native Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_
is automatically enabled when quorum queues are detected to implement the ETA mechanism.

See :ref:`using-quorum-queues` for complete documentation.

Configuration options:

- :setting:`broker_native_delayed_delivery_queue_type`: Specifies the queue type for
  delayed delivery (default: ``quorum``)
- :setting:`task_default_queue_type`: Sets the default queue type for tasks
  (default: ``classic``)
- :setting:`worker_detect_quorum_queues`: Controls automatic detection of quorum
  queues (default: ``True``)

Contributed in `#&#8203;9207 <https://github.com/celery/celery/pull/9207>`_,
`#&#8203;9121 <https://github.com/celery/celery/pull/9121>`_, and
`#&#8203;9599 <https://github.com/celery/celery/pull/9599>`_.

For details regarding the 404 errors, see
`New Year's Security Incident <https://github.com/celery/celery/discussions/9525>`_.

Soft Shutdown Mechanism
-----------------------

Soft shutdown is a time limited warm shutdown, initiated just before the cold shutdown.
The worker will allow :setting:`worker_soft_shutdown_timeout` seconds for all currently
executing tasks to finish before it terminates. If the time limit is reached, the worker
will initiate a cold shutdown and cancel all currently executing tasks.

This feature is particularly valuable when using brokers with visibility timeout
mechanisms, such as Redis or SQS. It allows the worker enough time to re-queue
tasks that were not completed before exiting, preventing task loss during worker
shutdown.

See :ref:`worker-stopping` for complete documentation on worker shutdown types.

Configuration options:

- :setting:`worker_soft_shutdown_timeout`: Sets the duration in seconds for the soft
  shutdown period (default: ``0.0``, disabled)
- :setting:`worker_enable_soft_shutdown_on_idle`: Controls whether soft shutdown
  should be enabled even when the worker is idle (default: ``False``)

Contributed by `@Nusnus <https://github.com/Nusnus>`_ in
`#&#8203;9213 <https://github.com/celery/celery/pull/9213>`_,
`#&#8203;9231 <https://github.com/celery/celery/pull/9231>`_, and
`#&#8203;9238 <https://github.com/celery/celery/pull/9238>`_.

Pydantic Support
----------------

New native support for Pydantic models in tasks. This integration
allows you to leverage Pydantic's powerful data validation and serialization
capabilities directly in your Celery tasks.

Example usage:

.. code-block:: python

    from pydantic import BaseModel
    from celery import Celery

    app = Celery('tasks')

    class ArgModel(BaseModel):
        value: int

    class ReturnModel(BaseModel):
        value: str

    @&#8203;app.task(pydantic=True)
    def x(arg: ArgModel) -> ReturnModel:

### args/kwargs type hinted as Pydantic model will be converted
        assert isinstance(arg, ArgModel)

### The returned model will be converted to a dict automatically
        return ReturnModel(value=f"example: {arg.value}")

See :ref:`task-pydantic` for complete documentation.

Configuration options:

- ``pydantic=True``: Enables Pydantic integration for the task
- ``pydantic_strict=True/False``: Controls whether strict validation is enabled
  (default: ``False``)
- ``pydantic_context={...}``: Provides additional context for validation
- ``pydantic_dump_kwargs={...}``: Customizes serialization behavior

Contributed by `@mathiasertl <https://github.com/mathiasertl>`_ in
`#&#8203;9023 <https://github.com/celery/celery/pull/9023>`_,
`#&#8203;9319 <https://github.com/celery/celery/pull/9319>`_, and
`#&#8203;9393 <https://github.com/celery/celery/pull/9393>`_.

Google Pub/Sub Transport
------------------------

New support for Google Cloud Pub/Sub as a message transport, expanding
Celery's cloud integration options.

See :ref:`broker-gcpubsub` for complete documentation.

For the Google Pub/Sub support you have to install additional dependencies:

.. code-block:: console

    $ pip install "celery[gcpubsub]"

Then configure your Celery application to use the Google Pub/Sub transport:

.. code-block:: python

    broker_url = 'gcpubsub://projects/project-id'

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

Python 3.13 Support
-------------------

Official support for Python 3.13. All core dependencies have been
updated to ensure compatibility, including Kombu and py-amqp.

This release maintains compatibility with Python 3.8 through 3.13, as well as
PyPy 3.10+.

Contributed by `@Nusnus <https://github.com/Nusnus>`_ in
`#&#8203;9309 <https://github.com/celery/celery/pull/9309>`_ and
`#&#8203;9350 <https://github.com/celery/celery/pull/9350>`_.

REMAP_SIGTERM Support
---------------------

The "REMAP_SIGTERM" feature, previously undocumented, has been tested, documented,
and is now officially supported. This feature allows you to remap the SIGTERM
signal to SIGQUIT, enabling you to initiate a soft or cold shutdown using TERM
instead of QUIT.

This is particularly useful in containerized environments where SIGTERM is the
standard signal for graceful termination.

See :ref:`Cold Shutdown documentation <worker-REMAP_SIGTERM>` for more info.

To enable this feature, set the environment variable:

.. code-block:: bash

    export REMAP_SIGTERM="SIGQUIT"

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

Database Backend Improvements
-----------------------------

New ``create_tables_at_setup`` option for the database
backend. This option controls when database tables are created, allowing for
non-lazy table creation.

By default (``create_tables_at_setup=True``), tables are created during backend
initialization. Setting this to ``False`` defers table creation until they are
actually needed, which can be useful in certain deployment scenarios where you want
more control over database schema management.

See :ref:`conf-database-result-backend` for complete documentation.

Configuration:

.. code-block:: python

    app.conf.result_backend = 'db+sqlite:///results.db'
    app.conf.database_create_tables_at_setup = False

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

What's Changed
  • (docs): use correct version celery v.5.4.x (#​8975)
  • Update mypy to 1.10.0 (#​8977)
  • Limit pymongo<4.7 when Python <= 3.10 due to breaking changes in 4.7 (#​8988)
  • Bump pytest from 8.1.1 to 8.2.0 (#​8987)
  • Update README to Include FastAPI in Framework Integration Section (#​8978)
  • Clarify return values of ..._on_commit methods (#​8984)
  • add kafka broker docs (#​8935)
  • Limit pymongo<4.7 regardless of Python version (#​8999)
  • Update pymongo[srv] requirement from <4.7,>=4.0.2 to >=4.0.2,<4.8 (#​9000)
  • Update elasticsearch requirement from <=8.13.0 to <=8.13.1 (#​9004)
  • security: SecureSerializer: support generic low-level serializers (#​8982)
  • don't kill if pid same as file (#​8997) (#​8998)
  • Update cryptography to 42.0.6 (#​9005)
  • Bump cryptography from 42.0.6 to 42.0.7 (#​9009)
  • don't kill if pid same as file (#​8997) (#​8998) (#​9007)
  • Added -vv to unit, integration and smoke tests (#​9014)
  • SecuritySerializer: ensure pack separator will not be conflicted with serialized fields (#​9010)
  • Update sphinx-click to 5.2.2 (#​9025)
  • Bump sphinx-click from 5.2.2 to 6.0.0 (#​9029)
  • Fix a typo to display the help message in first-steps-with-django (#​9036)
  • Pinned requests to v2.31.0 due to docker-py bug #​3256 (#​9039)
  • Fix certificate validity check (#​9037)
  • Revert "Pinned requests to v2.31.0 due to docker-py bug #​3256" (#​9043)
  • Bump pytest from 8.2.0 to 8.2.1 (#​9035)
  • Update elasticsearch requirement from <=8.13.1 to <=8.13.2 (#​9045)
  • Fix detection of custom task set as class attribute with Django (#​9038)
  • Update elastic-transport requirement from <=8.13.0 to <=8.13.1 (#​9050)
  • Bump pycouchdb from 1.14.2 to 1.16.0 (#​9052)
  • Update pytest to 8.2.2 (#​9060)
  • Bump cryptography from 42.0.7 to 42.0.8 (#​9061)
  • Update elasticsearch requirement from <=8.13.2 to <=8.14.0 (#​9069)
  • [enhance feature] Crontab schedule: allow using month names (#​9068)
  • Enhance tox environment: [testenv:clean] (#​9072)
  • Clarify docs about Reserve one task at a time (#​9073)
  • GCS docs fixes (#​9075)
  • Use hub.remove_writer instead of hub.remove for write fds (#​4185) (#​9055)
  • Class method to process crontab string (#​9079)
  • Fixed smoke tests env bug when using integration tasks that rely on Redis (#​9090)
  • Bugfix - a task will run multiple times when chaining chains with groups (#​9021)
  • Bump mypy from 1.10.0 to 1.10.1 (#​9096)
  • Don't add a separator to global_keyprefix if it already has one (#​9080)
  • Update pymongo[srv] requirement from <4.8,>=4.0.2 to >=4.0.2,<4.9 (#​9111)
  • Added missing import in examples for Django (#​9099)
  • Bump Kombu to v5.4.0rc1 (#​9117)
  • Removed skipping Redis in t/smoke/tests/test_consumer.py tests (#​9118)
  • Update pytest-subtests to 0.13.0 (#​9120)
  • Increased smoke tests CI timeout (#​9122)
  • Bump Kombu to v5.4.0rc2 (#​9127)
  • Update zstandard to 0.23.0 (#​9129)
  • Update pytest-subtests to 0.13.1 (#​9130)
  • Changed retry to tenacity in smoke tests (#​9133)
  • Bump mypy from 1.10.1 to 1.11.0 (#​9135)
  • Update cryptography to 43.0.0 (#​9138)
  • Update pytest to 8.3.1 (#​9137)
  • Added support for Quorum Queues (#​9121)
  • Bump Kombu to v5.4.0rc3 (#​9139)
  • Cleanup in Changelog.rst (#​9141)
  • Update Django docs for CELERY_CACHE_BACKEND (#​9143)
  • Added missing docs to previous releases (#​9144)
  • Fixed a few documentation build warnings (#​9145)
  • docs(README): link invalid (#​9148)
  • Prepare for (pre) release: v5.5.0b1 (#​9146)
  • Bump pytest from 8.3.1 to 8.3.2 (#​9153)
  • Remove setuptools deprecated test command from setup.py (#​9159)
  • Pin pre-commit to latest version 3.8.0 from Python 3.9 (#​9156)
  • Bump mypy from 1.11.0 to 1.11.1 (#​9164)
  • Change "docker-compose" to "docker compose" in Makefile (#​9169)
  • update python versions and docker compose (#​9171)
  • Add support for Pydantic model validation/serialization (fixes #​8751) (#​9023)
  • Allow local dynamodb to be installed on another host than localhost (#​8965)
  • Terminate job implementation for gevent concurrency backend (#​9083)
  • Bump Kombu to v5.4.0 (#​9177)
  • Add check for soft_time_limit and time_limit values (#​9173)
  • Prepare for (pre) release: v5.5.0b2 (#​9178)
  • Added SQS (localstack) broker to canvas smoke tests (#​9179)
  • Pin elastic-transport to <= latest version 8.15.0 (#​9182)
  • Update elasticsearch requirement from <=8.14.0 to <=8.15.0 (#​9186)
  • improve formatting (#​9188)
  • Add basic helm chart for celery (#​9181)
  • Update kafka.rst (#​9194)
  • Update pytest-order to 1.3.0 (#​9198)
  • Update mypy to 1.11.2 (#​9206)
  • all added to routes (#​9204)
  • Fix typos discovered by codespell (#​9212)
  • Use tzdata extras with zoneinfo backports (#​8286)
  • Use docker compose in Contributing's doc build section (#​9219)
  • Failing test for issue #​9119 (#​9215)
  • Fix date_done timezone issue (#​8385)
  • CI Fixes to smoke tests (#​9223)
  • fix: passes current request context when pushing to request_stack (#​9208)
  • Fix broken link in the Using RabbitMQ docs page (#​9226)
  • Added Soft Shutdown Mechanism (#​9213)
  • Added worker_enable_soft_shutdown_on_idle (#​9231)
  • Bump cryptography from 43.0.0 to 43.0.1 (#​9233)
  • Added docs regarding the relevancy of soft shutdown and ETA tasks (#​9238)
  • Show broker_connection_retry_on_startup warning only if it evaluates as False (#​9227)
  • Fixed docker-docs CI failure (#​9240)
  • Added docker cleanup auto-fixture to improve smoke tests stability (#​9243)
  • print is not thread-safe, so should not be used in signal handler (#​9222)
  • Prepare for (pre) release: v5.5.0b3 (#​9244)
  • Correct the error description in exception message when validate soft_time_limit (#​9246)
  • Update msgpack to 1.1.0 (#​9249)
  • chore(utils/time.py): rename _is_ambigious -> _is_ambiguous (#​9248)
  • Reduced Smoke Tests to min/max supported python (3.8/3.12) (#​9252)
  • Update pytest to 8.3.3 (#​9253)
  • Update elasticsearch requirement from <=8.15.0 to <=8.15.1 (#​9255)
  • update mongodb without deprecated [srv] extra requirement (#​9258)
  • blacksmith.sh: Migrate workflows to Blacksmith (#​9261)
  • Fixes #​9119: inject dispatch_uid for retry-wrapped receivers (#​9247)
  • Run all smoke tests CI jobs together (#​9263)
  • Improve documentation on visibility timeout (#​9264)
  • Bump pytest-celery to 1.1.2 (#​9267)
  • Added missing "app.conf.visibility_timeout" in smoke tests (#​9266)
  • Improved stability with t/smoke/tests/test_consumer.py (#​9268)
  • Improved Redis container stability in the smoke tests (#​9271)
  • Disabled EXHAUST_MEMORY tests in Smoke-tasks (#​9272)
  • Marked xfail for test_reducing_prefetch_count with Redis - flaky test (#​9273)
  • Fixed pypy unit tests random failures in the CI (#​9275)
  • Fixed more pypy unit tests random failures in the CI (#​9278)
  • Fix Redis container from aborting randomly (#​9276)
  • Run Integration & Smoke CI tests together after unit tests passes (#​9280)
  • Added "loglevel verbose" to Redis containers in smoke tests (#​9282)
  • Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detected" (#​9284)
  • Refactored the smoke tests github workflow (#​9285)
  • Increased --reruns 3->4 in smoke tests (#​9286)
  • Improve stability of smoke tests (CI and Local) (#​9287)
  • Fixed Smoke tests CI "test-case" lables (specific instead of general) (#​9288)
  • Use assert_log_exists instead of wait_for_log in worker smoke tests (#​9290)
  • Optimized t/smoke/tests/test_worker.py (#​9291)
  • Enable smoke tests dockers check before each test starts (#​9292)
  • Relaxed smoke tests flaky tests mechanism (#​9293)
  • Updated quorum queue detection to handle multiple broker instances (#​9294)
  • Non-lazy table creation for database backend (#​9228)
  • Pin pymongo to latest version 4.9 (#​9297)
  • Bump pymongo from 4.9 to 4.9.1 (#​9298)
  • Bump Kombu to v5.4.2 (#​9304)
  • Use rabbitmq:3 in stamping smoke tests (#​9307)
  • Bump pytest-celery to 1.1.3 (#​9308)
  • Added Python 3.13 Support (#​9309)
  • Add log when global qos is disabled (#​9296)
  • Added official release docs (whatsnew) for v5.5 (#​9312)
  • Enable Codespell autofix (#​9313)
  • Pydantic typehints: Fix optional, allow generics (#​9319)
  • Prepare for (pre) release: v5.5.0b4 (#​9322)
  • Added Blacksmith.sh to the Sponsors section in the README (#​9323)
  • Revert "Added Blacksmith.sh to the Sponsors section in the README" (#​9324)
  • Added Blacksmith.sh to the Sponsors section in the README (#​9325)
  • Added missing " |oc-sponsor-3|” in README (#​9326)
  • Use Blacksmith SVG logo (#​9327)
  • Updated Blacksmith SVG logo (#​9328)
  • Revert "Updated Blacksmith SVG logo" (#​9329)
  • Update pymongo to 4.10.0 (#​9330)
  • Update pymongo to 4.10.1 (#​9332)
  • Update user guide to recommend delay_on_commit (#​9333)
  • Pin pre-commit to latest version 4.0.0 (Python 3.9+) (#​9334)
  • Update ephem to 4.1.6 (#​9336)
  • Updated Blacksmith SVG logo (#​9337)
  • Prepare for (pre) release: v5.5.0rc1 (#​9341)
  • Fix: Treat dbm.error as a corrupted schedule file (#​9331)
  • Pin pre-commit to latest version 4.0.1 (#​9343)
  • Added Python 3.13 to Dockerfiles (#​9350)
  • Skip test_pool_restart_import_modules on PyPy due to test issue (#​9352)
  • Update elastic-transport requirement from <=8.15.0 to <=8.15.1 (#​9347)
  • added dragonfly logo (#​9353)
  • Update README.rst (#​9354)
  • Update README.rst (#​9355)
  • Update mypy to 1.12.0 (#​9356)
  • Bump Kombu to v5.5.0rc1 (#​9357)
  • Fix celery --loader option parsing (#​9361)
  • Add support for Google Pub/Sub transport (#​9351)
  • Add native incr support for GCSBackend (#​9302)
  • fix(perform_pending_operations): prevent task duplication on shutdown… (#​9348)
  • Update grpcio to 1.67.0 (#​9365)
  • Update google-cloud-firestore to 2.19.0 (#​9364)
  • Annotate celery/utils/timer2.py (#​9362)
  • Update cryptography to 43.0.3 (#​9366)
  • Update mypy to 1.12.1 (#​9368)
  • Bump mypy from 1.12.1 to 1.13.0 (#​9373)
  • Pass timeout and confirm_timeout to producer.publish() (#​9374)
  • Bump Kombu to v5.5.0rc2 (#​9382)
  • Bump pytest-cov from 5.0.0 to 6.0.0 (#​9388)
  • default strict to False for pydantic tasks (#​9393)
  • Only log that global QoS is disabled if using amqp (#​9395)
  • chore: update sponsorship logo (#​9398)
  • Allow custom hostname for celery_worker in celery.contrib.pytest / celery.contrib.testing.worker (#​9405)
  • Removed docker-docs from CI (optional job, malfunctioning) (#​9406)
  • Added a utility to format changelogs from the auto-generated GitHub release notes (#​9408)
  • Bump codecov/codecov-action from 4 to 5 (#​9412)
  • Update elasticsearch requirement from <=8.15.1 to <=8.16.0 (#​9410)
  • Native Delayed Delivery in RabbitMQ (#​9207)
  • Prepare for (pre) release: v5.5.0rc2 (#​9416)
  • Document usage of broker_native_delayed_delivery_queue_type (#​9419)
  • Adjust section in what's new document regarding quorum queues support (#​9420)
  • Update pytest-rerunfailures to 15.0 (#​9422)
  • Document group unrolling (#​9421)
  • fix small typo acces -> access (#​9434)
  • Update cryptography to 44.0.0 (#​9437)
  • Added pypy to Dockerfile (#​9438)
  • Skipped flaky tests on pypy (all pass after ~10 reruns) (#​9439)
  • Allowing managed credentials for azureblockblob (#​9430)
  • Allow passing Celery objects to the Click entry point (#​9426)
  • support Request termination for gevent (#​9440)
  • Prevent event_mask from being overwritten. (#​9432)
  • Update pytest to 8.3.4 (#​9444)
  • Prepare for (pre) release: v5.5.0rc3 (#​9450)
  • Bugfix: SIGQUIT not initiating cold shutdown when task_acks_late=False (#​9461)
  • Fixed pycurl dep with Python 3.8 (#​9471)
  • Update elasticsearch requirement from <=8.16.0 to <=8.17.0 (#​9469)
  • Bump pytest-subtests from 0.13.1 to 0.14.1 (#​9459)
  • documentation: Added a type annotation to the periodic task example (#​9473)
  • Prepare for (pre) release: v5.5.0rc4 (#​9474)
  • Bump mypy from 1.13.0 to 1.14.0 (#​9476)
  • Fix cassandra backend port settings not working (#​9465)
  • Unroll group when a group with a single item is chained using the | operator (#​9456)
  • fix(django): catch the right error when trying to close db connection (#​9392)
  • Replacing a task with a chain which contains a group now returns a result instead of hanging (#​9484)
  • Avoid using a group of one as it is now unrolled into a chain (#​9510)
  • Link to the correct IRC network (#​9509)
  • Bump pytest-github-actions-annotate-failures from 0.2.0 to 0.3.0 (#​9504)
  • Update canvas.rst to fix output result from chain object (#​9502)
  • Unauthorized Changes Cleanup (#​9528)
  • [RE-APPROVED] fix(django): catch the right error when trying to close db connection (#​9529)
  • [RE-APPROVED] Link to the correct IRC network (#​9531)
  • [RE-APPROVED] Update canvas.rst to fix output result from chain object (#​9532)
  • Update test-ci-base.txt (#​9539)
  • Update install-pyenv.sh (#​9540)
  • Update elasticsearch requirement from <=8.17.0 to <=8.17.1 (#​9518)
  • Bump google-cloud-firestore from 2.19.0 to 2.20.0 (#​9493)
  • Bump mypy from 1.14.0 to 1.14.1 (#​9483)
  • Update elastic-transport requirement from <=8.15.1 to <=8.17.0 (#​9490)
  • Update Dockerfile by adding missing Python version 3.13 (#​9549)
  • Fix typo for default of sig (#​9495)
  • fix(crontab): resolve constructor type conflicts (#​9551)
  • worker_max_memory_per_child: kilobyte is 1024 bytes (#​9553)
  • Fix formatting in quorum queue docs (#​9555)
  • Bump cryptography from 44.0.0 to 44.0.1 (#​9556)
  • Fix the send_task method when detecting if the native delayed delivery approach is available (#​9552)
  • Reverted PR #​7814 & minor code improvement (#​9494)
  • Improved donation and sponsorship visibility (#​9558)
  • Updated the Getting Help section, replacing deprecated with new resources (#​9559)
  • Fixed django example (#​9562)
  • Bump Kombu to v5.5.0rc3 (#​9564)
  • Bump ephem from 4.1.6 to 4.2 (#​9565)
  • Bump pytest-celery to v1.2.0 (#​9568)
  • Remove dependency on pycurl (#​9526)
  • Set TestWorkController.test (#​9574)
  • Fixed bug when revoking by stamped headers a stamp that does not exist (#​9575)
  • Canvas Stamping Doc Fixes (#​9578)
  • Bugfix: Chord with a chord in header doesn't invoke error callback on inner chord header failure (default config) (#​9580)
  • Prepare for (pre) release: v5.5.0rc5 (#​9582)
  • Bump google-cloud-firestore from 2.20.0 to 2.20.1 (#​9584)
  • Fix tests with Click 8.2 (#​9590)
  • Bump cryptography from 44.0.1 to 44.0.2 (#​9591)
  • Update elasticsearch requirement from <=8.17.1 to <=8.17.2 (#​9594)
  • Bump pytest from 8.3.4 to 8.3.5 (#​9598)
  • Refactored and Enhanced DelayedDelivery bootstep (#​9599)
  • Improve docs about acks_on_failure_or_timeout (#​9577)
  • Update SECURITY.md (#​9609)
  • remove flake8plus as not needed anymore (#​9610)
  • remove [bdist_wheel] universal = 0 from setup.cfg as not needed (#​9611)
  • remove importlib-metadata as not needed in python3.8 anymore (#​9612)
  • feat: define exception_safe_to_retry for redisbackend (#​9614)
  • Bump Kombu to v5.5.0 (#​9615)
  • Update elastic-transport requirement from <=8.17.0 to <=8.17.1 (#​9616)
  • [docs] fix first-steps (#​9618)
  • Revert "Improve docs about acks_on_failure_or_timeout" (#​9606)
  • Improve CI stability and performance (#​9624)
  • Improved explanation for Database transactions at user guide for tasks (#​9617)
  • update tests to use python 3.8 codes only (#​9627)
  • #​9597: Ensure surpassing Hard Timeout limit when task_acks_on_failure_or_timeout is False rejects the task (#​9626)
  • Lock Kombu to v5.5.x (using urllib3 instead of pycurl) (#​9632)
  • Lock pytest-celery to v1.2.x (using urllib3 instead of pycurl) (#​9633)
  • Add Codecov Test Analytics (#​9635)
  • Bump Kombu to v5.5.2 (#​9643)
  • Prepare for release: v5.5.0 (#​9644)

.. _version-5.5.0rc5:


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 becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [celery](https://docs.celeryq.dev/) ([source](https://github.com/celery/celery), [changelog](https://docs.celeryq.dev/en/stable/changelog.html)) | dependencies | minor | `5.4.0` -> `5.5.0` | --- ### Release Notes <details> <summary>celery/celery (celery)</summary> ### [`v5.5.0`](https://github.com/celery/celery/blob/HEAD/Changelog.rst#550) [Compare Source](https://github.com/celery/celery/compare/v5.4.0...v5.5.0) \===== :release-date: 2025-03-31 :release-by: Tomer Nosrati Celery v5.5.0 is now available. Key Highlights ``` See :ref:`whatsnew-5.5` for a complete overview or read the main highlights below. Redis Broker Stability Improvements ----------------------------------- Long-standing disconnection issues with the Redis broker have been identified and resolved in Kombu 5.5.0, which is included with this release. These improvements significantly enhance stability when using Redis as a broker. Additionally, the Redis backend now has better exception handling with the new ``exception_safe_to_retry`` feature, which improves resilience during temporary Redis connection issues. See :ref:`conf-redis-result-backend` for complete documentation. Contributed by `@drienkop <https://github.com/drienkop>`_ in `#&#8203;9614 <https://github.com/celery/celery/pull/9614>`_. ``pycurl`` replaced with ``urllib3`` ------------------------------------ Replaced the :pypi:`pycurl` dependency with :pypi:`urllib3`. We're monitoring the performance impact of this change and welcome feedback from users who notice any significant differences in their environments. Contributed by `@spawn-guy <https://github.com/spawn-guy>`_ in Kombu `#&#8203;2134 <https://github.com/celery/kombu/pull/2134>`_ and integrated in Celery via `#&#8203;9526 <https://github.com/celery/celery/pull/9526>`_. RabbitMQ Quorum Queues Support ------------------------------ Added support for RabbitMQ's new `Quorum Queues <https://www.rabbitmq.com/docs/quorum-queues>`_ feature, including compatibility with ETA tasks. This implementation has some limitations compared to classic queues, so please refer to the documentation for details. `Native Delayed Delivery <https://docs.particular.net/transports/rabbitmq/delayed-delivery>`_ is automatically enabled when quorum queues are detected to implement the ETA mechanism. See :ref:`using-quorum-queues` for complete documentation. Configuration options: - :setting:`broker_native_delayed_delivery_queue_type`: Specifies the queue type for delayed delivery (default: ``quorum``) - :setting:`task_default_queue_type`: Sets the default queue type for tasks (default: ``classic``) - :setting:`worker_detect_quorum_queues`: Controls automatic detection of quorum queues (default: ``True``) Contributed in `#&#8203;9207 <https://github.com/celery/celery/pull/9207>`_, `#&#8203;9121 <https://github.com/celery/celery/pull/9121>`_, and `#&#8203;9599 <https://github.com/celery/celery/pull/9599>`_. For details regarding the 404 errors, see `New Year's Security Incident <https://github.com/celery/celery/discussions/9525>`_. Soft Shutdown Mechanism ----------------------- Soft shutdown is a time limited warm shutdown, initiated just before the cold shutdown. The worker will allow :setting:`worker_soft_shutdown_timeout` seconds for all currently executing tasks to finish before it terminates. If the time limit is reached, the worker will initiate a cold shutdown and cancel all currently executing tasks. This feature is particularly valuable when using brokers with visibility timeout mechanisms, such as Redis or SQS. It allows the worker enough time to re-queue tasks that were not completed before exiting, preventing task loss during worker shutdown. See :ref:`worker-stopping` for complete documentation on worker shutdown types. Configuration options: - :setting:`worker_soft_shutdown_timeout`: Sets the duration in seconds for the soft shutdown period (default: ``0.0``, disabled) - :setting:`worker_enable_soft_shutdown_on_idle`: Controls whether soft shutdown should be enabled even when the worker is idle (default: ``False``) Contributed by `@Nusnus <https://github.com/Nusnus>`_ in `#&#8203;9213 <https://github.com/celery/celery/pull/9213>`_, `#&#8203;9231 <https://github.com/celery/celery/pull/9231>`_, and `#&#8203;9238 <https://github.com/celery/celery/pull/9238>`_. Pydantic Support ---------------- New native support for Pydantic models in tasks. This integration allows you to leverage Pydantic's powerful data validation and serialization capabilities directly in your Celery tasks. Example usage: .. code-block:: python from pydantic import BaseModel from celery import Celery app = Celery('tasks') class ArgModel(BaseModel): value: int class ReturnModel(BaseModel): value: str @&#8203;app.task(pydantic=True) def x(arg: ArgModel) -> ReturnModel: ### args/kwargs type hinted as Pydantic model will be converted assert isinstance(arg, ArgModel) ### The returned model will be converted to a dict automatically return ReturnModel(value=f"example: {arg.value}") See :ref:`task-pydantic` for complete documentation. Configuration options: - ``pydantic=True``: Enables Pydantic integration for the task - ``pydantic_strict=True/False``: Controls whether strict validation is enabled (default: ``False``) - ``pydantic_context={...}``: Provides additional context for validation - ``pydantic_dump_kwargs={...}``: Customizes serialization behavior Contributed by `@mathiasertl <https://github.com/mathiasertl>`_ in `#&#8203;9023 <https://github.com/celery/celery/pull/9023>`_, `#&#8203;9319 <https://github.com/celery/celery/pull/9319>`_, and `#&#8203;9393 <https://github.com/celery/celery/pull/9393>`_. Google Pub/Sub Transport ------------------------ New support for Google Cloud Pub/Sub as a message transport, expanding Celery's cloud integration options. See :ref:`broker-gcpubsub` for complete documentation. For the Google Pub/Sub support you have to install additional dependencies: .. code-block:: console $ pip install "celery[gcpubsub]" Then configure your Celery application to use the Google Pub/Sub transport: .. code-block:: python broker_url = 'gcpubsub://projects/project-id' Contributed by `@haimjether <https://github.com/haimjether>`_ in `#&#8203;9351 <https://github.com/celery/celery/pull/9351>`_. Python 3.13 Support ------------------- Official support for Python 3.13. All core dependencies have been updated to ensure compatibility, including Kombu and py-amqp. This release maintains compatibility with Python 3.8 through 3.13, as well as PyPy 3.10+. Contributed by `@Nusnus <https://github.com/Nusnus>`_ in `#&#8203;9309 <https://github.com/celery/celery/pull/9309>`_ and `#&#8203;9350 <https://github.com/celery/celery/pull/9350>`_. REMAP_SIGTERM Support --------------------- The "REMAP_SIGTERM" feature, previously undocumented, has been tested, documented, and is now officially supported. This feature allows you to remap the SIGTERM signal to SIGQUIT, enabling you to initiate a soft or cold shutdown using TERM instead of QUIT. This is particularly useful in containerized environments where SIGTERM is the standard signal for graceful termination. See :ref:`Cold Shutdown documentation <worker-REMAP_SIGTERM>` for more info. To enable this feature, set the environment variable: .. code-block:: bash export REMAP_SIGTERM="SIGQUIT" Contributed by `@Nusnus <https://github.com/Nusnus>`_ in `#&#8203;9461 <https://github.com/celery/celery/pull/9461>`_. Database Backend Improvements ----------------------------- New ``create_tables_at_setup`` option for the database backend. This option controls when database tables are created, allowing for non-lazy table creation. By default (``create_tables_at_setup=True``), tables are created during backend initialization. Setting this to ``False`` defers table creation until they are actually needed, which can be useful in certain deployment scenarios where you want more control over database schema management. See :ref:`conf-database-result-backend` for complete documentation. Configuration: .. code-block:: python app.conf.result_backend = 'db+sqlite:///results.db' app.conf.database_create_tables_at_setup = False Contributed by `@MarcBresson <https://github.com/MarcBresson>`_ in `#&#8203;9228 <https://github.com/celery/celery/pull/9228>`_. What's Changed ``` - (docs): use correct version celery v.5.4.x ([#&#8203;8975](https://github.com/celery/celery/issues/8975)) - Update mypy to 1.10.0 ([#&#8203;8977](https://github.com/celery/celery/issues/8977)) - Limit pymongo<4.7 when Python <= 3.10 due to breaking changes in 4.7 ([#&#8203;8988](https://github.com/celery/celery/issues/8988)) - Bump pytest from 8.1.1 to 8.2.0 ([#&#8203;8987](https://github.com/celery/celery/issues/8987)) - Update README to Include FastAPI in Framework Integration Section ([#&#8203;8978](https://github.com/celery/celery/issues/8978)) - Clarify return values of ...\_on_commit methods ([#&#8203;8984](https://github.com/celery/celery/issues/8984)) - add kafka broker docs ([#&#8203;8935](https://github.com/celery/celery/issues/8935)) - Limit pymongo<4.7 regardless of Python version ([#&#8203;8999](https://github.com/celery/celery/issues/8999)) - Update pymongo\[srv] requirement from <4.7,>=4.0.2 to >=4.0.2,<4.8 ([#&#8203;9000](https://github.com/celery/celery/issues/9000)) - Update elasticsearch requirement from <=8.13.0 to <=8.13.1 ([#&#8203;9004](https://github.com/celery/celery/issues/9004)) - security: SecureSerializer: support generic low-level serializers ([#&#8203;8982](https://github.com/celery/celery/issues/8982)) - don't kill if pid same as file ([#&#8203;8997](https://github.com/celery/celery/issues/8997)) ([#&#8203;8998](https://github.com/celery/celery/issues/8998)) - Update cryptography to 42.0.6 ([#&#8203;9005](https://github.com/celery/celery/issues/9005)) - Bump cryptography from 42.0.6 to 42.0.7 ([#&#8203;9009](https://github.com/celery/celery/issues/9009)) - don't kill if pid same as file ([#&#8203;8997](https://github.com/celery/celery/issues/8997)) ([#&#8203;8998](https://github.com/celery/celery/issues/8998)) ([#&#8203;9007](https://github.com/celery/celery/issues/9007)) - Added -vv to unit, integration and smoke tests ([#&#8203;9014](https://github.com/celery/celery/issues/9014)) - SecuritySerializer: ensure pack separator will not be conflicted with serialized fields ([#&#8203;9010](https://github.com/celery/celery/issues/9010)) - Update sphinx-click to 5.2.2 ([#&#8203;9025](https://github.com/celery/celery/issues/9025)) - Bump sphinx-click from 5.2.2 to 6.0.0 ([#&#8203;9029](https://github.com/celery/celery/issues/9029)) - Fix a typo to display the help message in first-steps-with-django ([#&#8203;9036](https://github.com/celery/celery/issues/9036)) - Pinned requests to v2.31.0 due to docker-py bug [#&#8203;3256](https://github.com/celery/celery/issues/3256) ([#&#8203;9039](https://github.com/celery/celery/issues/9039)) - Fix certificate validity check ([#&#8203;9037](https://github.com/celery/celery/issues/9037)) - Revert "Pinned requests to v2.31.0 due to docker-py bug [#&#8203;3256](https://github.com/celery/celery/issues/3256)" ([#&#8203;9043](https://github.com/celery/celery/issues/9043)) - Bump pytest from 8.2.0 to 8.2.1 ([#&#8203;9035](https://github.com/celery/celery/issues/9035)) - Update elasticsearch requirement from <=8.13.1 to <=8.13.2 ([#&#8203;9045](https://github.com/celery/celery/issues/9045)) - Fix detection of custom task set as class attribute with Django ([#&#8203;9038](https://github.com/celery/celery/issues/9038)) - Update elastic-transport requirement from <=8.13.0 to <=8.13.1 ([#&#8203;9050](https://github.com/celery/celery/issues/9050)) - Bump pycouchdb from 1.14.2 to 1.16.0 ([#&#8203;9052](https://github.com/celery/celery/issues/9052)) - Update pytest to 8.2.2 ([#&#8203;9060](https://github.com/celery/celery/issues/9060)) - Bump cryptography from 42.0.7 to 42.0.8 ([#&#8203;9061](https://github.com/celery/celery/issues/9061)) - Update elasticsearch requirement from <=8.13.2 to <=8.14.0 ([#&#8203;9069](https://github.com/celery/celery/issues/9069)) - \[enhance feature] Crontab schedule: allow using month names ([#&#8203;9068](https://github.com/celery/celery/issues/9068)) - Enhance tox environment: \[testenv:clean] ([#&#8203;9072](https://github.com/celery/celery/issues/9072)) - Clarify docs about Reserve one task at a time ([#&#8203;9073](https://github.com/celery/celery/issues/9073)) - GCS docs fixes ([#&#8203;9075](https://github.com/celery/celery/issues/9075)) - Use hub.remove_writer instead of hub.remove for write fds ([#&#8203;4185](https://github.com/celery/celery/issues/4185)) ([#&#8203;9055](https://github.com/celery/celery/issues/9055)) - Class method to process crontab string ([#&#8203;9079](https://github.com/celery/celery/issues/9079)) - Fixed smoke tests env bug when using integration tasks that rely on Redis ([#&#8203;9090](https://github.com/celery/celery/issues/9090)) - Bugfix - a task will run multiple times when chaining chains with groups ([#&#8203;9021](https://github.com/celery/celery/issues/9021)) - Bump mypy from 1.10.0 to 1.10.1 ([#&#8203;9096](https://github.com/celery/celery/issues/9096)) - Don't add a separator to global_keyprefix if it already has one ([#&#8203;9080](https://github.com/celery/celery/issues/9080)) - Update pymongo\[srv] requirement from <4.8,>=4.0.2 to >=4.0.2,<4.9 ([#&#8203;9111](https://github.com/celery/celery/issues/9111)) - Added missing import in examples for Django ([#&#8203;9099](https://github.com/celery/celery/issues/9099)) - Bump Kombu to v5.4.0rc1 ([#&#8203;9117](https://github.com/celery/celery/issues/9117)) - Removed skipping Redis in t/smoke/tests/test_consumer.py tests ([#&#8203;9118](https://github.com/celery/celery/issues/9118)) - Update pytest-subtests to 0.13.0 ([#&#8203;9120](https://github.com/celery/celery/issues/9120)) - Increased smoke tests CI timeout ([#&#8203;9122](https://github.com/celery/celery/issues/9122)) - Bump Kombu to v5.4.0rc2 ([#&#8203;9127](https://github.com/celery/celery/issues/9127)) - Update zstandard to 0.23.0 ([#&#8203;9129](https://github.com/celery/celery/issues/9129)) - Update pytest-subtests to 0.13.1 ([#&#8203;9130](https://github.com/celery/celery/issues/9130)) - Changed retry to tenacity in smoke tests ([#&#8203;9133](https://github.com/celery/celery/issues/9133)) - Bump mypy from 1.10.1 to 1.11.0 ([#&#8203;9135](https://github.com/celery/celery/issues/9135)) - Update cryptography to 43.0.0 ([#&#8203;9138](https://github.com/celery/celery/issues/9138)) - Update pytest to 8.3.1 ([#&#8203;9137](https://github.com/celery/celery/issues/9137)) - Added support for Quorum Queues ([#&#8203;9121](https://github.com/celery/celery/issues/9121)) - Bump Kombu to v5.4.0rc3 ([#&#8203;9139](https://github.com/celery/celery/issues/9139)) - Cleanup in Changelog.rst ([#&#8203;9141](https://github.com/celery/celery/issues/9141)) - Update Django docs for CELERY_CACHE_BACKEND ([#&#8203;9143](https://github.com/celery/celery/issues/9143)) - Added missing docs to previous releases ([#&#8203;9144](https://github.com/celery/celery/issues/9144)) - Fixed a few documentation build warnings ([#&#8203;9145](https://github.com/celery/celery/issues/9145)) - docs(README): link invalid ([#&#8203;9148](https://github.com/celery/celery/issues/9148)) - Prepare for (pre) release: v5.5.0b1 ([#&#8203;9146](https://github.com/celery/celery/issues/9146)) - Bump pytest from 8.3.1 to 8.3.2 ([#&#8203;9153](https://github.com/celery/celery/issues/9153)) - Remove setuptools deprecated test command from setup.py ([#&#8203;9159](https://github.com/celery/celery/issues/9159)) - Pin pre-commit to latest version 3.8.0 from Python 3.9 ([#&#8203;9156](https://github.com/celery/celery/issues/9156)) - Bump mypy from 1.11.0 to 1.11.1 ([#&#8203;9164](https://github.com/celery/celery/issues/9164)) - Change "docker-compose" to "docker compose" in Makefile ([#&#8203;9169](https://github.com/celery/celery/issues/9169)) - update python versions and docker compose ([#&#8203;9171](https://github.com/celery/celery/issues/9171)) - Add support for Pydantic model validation/serialization (fixes [#&#8203;8751](https://github.com/celery/celery/issues/8751)) ([#&#8203;9023](https://github.com/celery/celery/issues/9023)) - Allow local dynamodb to be installed on another host than localhost ([#&#8203;8965](https://github.com/celery/celery/issues/8965)) - Terminate job implementation for gevent concurrency backend ([#&#8203;9083](https://github.com/celery/celery/issues/9083)) - Bump Kombu to v5.4.0 ([#&#8203;9177](https://github.com/celery/celery/issues/9177)) - Add check for soft_time_limit and time_limit values ([#&#8203;9173](https://github.com/celery/celery/issues/9173)) - Prepare for (pre) release: v5.5.0b2 ([#&#8203;9178](https://github.com/celery/celery/issues/9178)) - Added SQS (localstack) broker to canvas smoke tests ([#&#8203;9179](https://github.com/celery/celery/issues/9179)) - Pin elastic-transport to <= latest version 8.15.0 ([#&#8203;9182](https://github.com/celery/celery/issues/9182)) - Update elasticsearch requirement from <=8.14.0 to <=8.15.0 ([#&#8203;9186](https://github.com/celery/celery/issues/9186)) - improve formatting ([#&#8203;9188](https://github.com/celery/celery/issues/9188)) - Add basic helm chart for celery ([#&#8203;9181](https://github.com/celery/celery/issues/9181)) - Update kafka.rst ([#&#8203;9194](https://github.com/celery/celery/issues/9194)) - Update pytest-order to 1.3.0 ([#&#8203;9198](https://github.com/celery/celery/issues/9198)) - Update mypy to 1.11.2 ([#&#8203;9206](https://github.com/celery/celery/issues/9206)) - all added to routes ([#&#8203;9204](https://github.com/celery/celery/issues/9204)) - Fix typos discovered by codespell ([#&#8203;9212](https://github.com/celery/celery/issues/9212)) - Use tzdata extras with zoneinfo backports ([#&#8203;8286](https://github.com/celery/celery/issues/8286)) - Use `docker compose` in Contributing's doc build section ([#&#8203;9219](https://github.com/celery/celery/issues/9219)) - Failing test for issue [#&#8203;9119](https://github.com/celery/celery/issues/9119) ([#&#8203;9215](https://github.com/celery/celery/issues/9215)) - Fix date_done timezone issue ([#&#8203;8385](https://github.com/celery/celery/issues/8385)) - CI Fixes to smoke tests ([#&#8203;9223](https://github.com/celery/celery/issues/9223)) - fix: passes current request context when pushing to request_stack ([#&#8203;9208](https://github.com/celery/celery/issues/9208)) - Fix broken link in the Using RabbitMQ docs page ([#&#8203;9226](https://github.com/celery/celery/issues/9226)) - Added Soft Shutdown Mechanism ([#&#8203;9213](https://github.com/celery/celery/issues/9213)) - Added worker_enable_soft_shutdown_on_idle ([#&#8203;9231](https://github.com/celery/celery/issues/9231)) - Bump cryptography from 43.0.0 to 43.0.1 ([#&#8203;9233](https://github.com/celery/celery/issues/9233)) - Added docs regarding the relevancy of soft shutdown and ETA tasks ([#&#8203;9238](https://github.com/celery/celery/issues/9238)) - Show broker_connection_retry_on_startup warning only if it evaluates as False ([#&#8203;9227](https://github.com/celery/celery/issues/9227)) - Fixed docker-docs CI failure ([#&#8203;9240](https://github.com/celery/celery/issues/9240)) - Added docker cleanup auto-fixture to improve smoke tests stability ([#&#8203;9243](https://github.com/celery/celery/issues/9243)) - print is not thread-safe, so should not be used in signal handler ([#&#8203;9222](https://github.com/celery/celery/issues/9222)) - Prepare for (pre) release: v5.5.0b3 ([#&#8203;9244](https://github.com/celery/celery/issues/9244)) - Correct the error description in exception message when validate soft_time_limit ([#&#8203;9246](https://github.com/celery/celery/issues/9246)) - Update msgpack to 1.1.0 ([#&#8203;9249](https://github.com/celery/celery/issues/9249)) - chore(utils/time.py): rename `_is_ambigious` -> `_is_ambiguous` ([#&#8203;9248](https://github.com/celery/celery/issues/9248)) - Reduced Smoke Tests to min/max supported python (3.8/3.12) ([#&#8203;9252](https://github.com/celery/celery/issues/9252)) - Update pytest to 8.3.3 ([#&#8203;9253](https://github.com/celery/celery/issues/9253)) - Update elasticsearch requirement from <=8.15.0 to <=8.15.1 ([#&#8203;9255](https://github.com/celery/celery/issues/9255)) - update mongodb without deprecated `[srv]` extra requirement ([#&#8203;9258](https://github.com/celery/celery/issues/9258)) - blacksmith.sh: Migrate workflows to Blacksmith ([#&#8203;9261](https://github.com/celery/celery/issues/9261)) - Fixes [#&#8203;9119](https://github.com/celery/celery/issues/9119): inject dispatch_uid for retry-wrapped receivers ([#&#8203;9247](https://github.com/celery/celery/issues/9247)) - Run all smoke tests CI jobs together ([#&#8203;9263](https://github.com/celery/celery/issues/9263)) - Improve documentation on visibility timeout ([#&#8203;9264](https://github.com/celery/celery/issues/9264)) - Bump pytest-celery to 1.1.2 ([#&#8203;9267](https://github.com/celery/celery/issues/9267)) - Added missing "app.conf.visibility_timeout" in smoke tests ([#&#8203;9266](https://github.com/celery/celery/issues/9266)) - Improved stability with t/smoke/tests/test_consumer.py ([#&#8203;9268](https://github.com/celery/celery/issues/9268)) - Improved Redis container stability in the smoke tests ([#&#8203;9271](https://github.com/celery/celery/issues/9271)) - Disabled EXHAUST_MEMORY tests in Smoke-tasks ([#&#8203;9272](https://github.com/celery/celery/issues/9272)) - Marked xfail for test_reducing_prefetch_count with Redis - flaky test ([#&#8203;9273](https://github.com/celery/celery/issues/9273)) - Fixed pypy unit tests random failures in the CI ([#&#8203;9275](https://github.com/celery/celery/issues/9275)) - Fixed more pypy unit tests random failures in the CI ([#&#8203;9278](https://github.com/celery/celery/issues/9278)) - Fix Redis container from aborting randomly ([#&#8203;9276](https://github.com/celery/celery/issues/9276)) - Run Integration & Smoke CI tests together after unit tests passes ([#&#8203;9280](https://github.com/celery/celery/issues/9280)) - Added "loglevel verbose" to Redis containers in smoke tests ([#&#8203;9282](https://github.com/celery/celery/issues/9282)) - Fixed Redis error in the smoke tests: "Possible SECURITY ATTACK detected" ([#&#8203;9284](https://github.com/celery/celery/issues/9284)) - Refactored the smoke tests github workflow ([#&#8203;9285](https://github.com/celery/celery/issues/9285)) - Increased --reruns 3->4 in smoke tests ([#&#8203;9286](https://github.com/celery/celery/issues/9286)) - Improve stability of smoke tests (CI and Local) ([#&#8203;9287](https://github.com/celery/celery/issues/9287)) - Fixed Smoke tests CI "test-case" lables (specific instead of general) ([#&#8203;9288](https://github.com/celery/celery/issues/9288)) - Use assert_log_exists instead of wait_for_log in worker smoke tests ([#&#8203;9290](https://github.com/celery/celery/issues/9290)) - Optimized t/smoke/tests/test_worker.py ([#&#8203;9291](https://github.com/celery/celery/issues/9291)) - Enable smoke tests dockers check before each test starts ([#&#8203;9292](https://github.com/celery/celery/issues/9292)) - Relaxed smoke tests flaky tests mechanism ([#&#8203;9293](https://github.com/celery/celery/issues/9293)) - Updated quorum queue detection to handle multiple broker instances ([#&#8203;9294](https://github.com/celery/celery/issues/9294)) - Non-lazy table creation for database backend ([#&#8203;9228](https://github.com/celery/celery/issues/9228)) - Pin pymongo to latest version 4.9 ([#&#8203;9297](https://github.com/celery/celery/issues/9297)) - Bump pymongo from 4.9 to 4.9.1 ([#&#8203;9298](https://github.com/celery/celery/issues/9298)) - Bump Kombu to v5.4.2 ([#&#8203;9304](https://github.com/celery/celery/issues/9304)) - Use rabbitmq:3 in stamping smoke tests ([#&#8203;9307](https://github.com/celery/celery/issues/9307)) - Bump pytest-celery to 1.1.3 ([#&#8203;9308](https://github.com/celery/celery/issues/9308)) - Added Python 3.13 Support ([#&#8203;9309](https://github.com/celery/celery/issues/9309)) - Add log when global qos is disabled ([#&#8203;9296](https://github.com/celery/celery/issues/9296)) - Added official release docs (whatsnew) for v5.5 ([#&#8203;9312](https://github.com/celery/celery/issues/9312)) - Enable Codespell autofix ([#&#8203;9313](https://github.com/celery/celery/issues/9313)) - Pydantic typehints: Fix optional, allow generics ([#&#8203;9319](https://github.com/celery/celery/issues/9319)) - Prepare for (pre) release: v5.5.0b4 ([#&#8203;9322](https://github.com/celery/celery/issues/9322)) - Added Blacksmith.sh to the Sponsors section in the README ([#&#8203;9323](https://github.com/celery/celery/issues/9323)) - Revert "Added Blacksmith.sh to the Sponsors section in the README" ([#&#8203;9324](https://github.com/celery/celery/issues/9324)) - Added Blacksmith.sh to the Sponsors section in the README ([#&#8203;9325](https://github.com/celery/celery/issues/9325)) - Added missing " |oc-sponsor-3|” in README ([#&#8203;9326](https://github.com/celery/celery/issues/9326)) - Use Blacksmith SVG logo ([#&#8203;9327](https://github.com/celery/celery/issues/9327)) - Updated Blacksmith SVG logo ([#&#8203;9328](https://github.com/celery/celery/issues/9328)) - Revert "Updated Blacksmith SVG logo" ([#&#8203;9329](https://github.com/celery/celery/issues/9329)) - Update pymongo to 4.10.0 ([#&#8203;9330](https://github.com/celery/celery/issues/9330)) - Update pymongo to 4.10.1 ([#&#8203;9332](https://github.com/celery/celery/issues/9332)) - Update user guide to recommend delay_on_commit ([#&#8203;9333](https://github.com/celery/celery/issues/9333)) - Pin pre-commit to latest version 4.0.0 (Python 3.9+) ([#&#8203;9334](https://github.com/celery/celery/issues/9334)) - Update ephem to 4.1.6 ([#&#8203;9336](https://github.com/celery/celery/issues/9336)) - Updated Blacksmith SVG logo ([#&#8203;9337](https://github.com/celery/celery/issues/9337)) - Prepare for (pre) release: v5.5.0rc1 ([#&#8203;9341](https://github.com/celery/celery/issues/9341)) - Fix: Treat dbm.error as a corrupted schedule file ([#&#8203;9331](https://github.com/celery/celery/issues/9331)) - Pin pre-commit to latest version 4.0.1 ([#&#8203;9343](https://github.com/celery/celery/issues/9343)) - Added Python 3.13 to Dockerfiles ([#&#8203;9350](https://github.com/celery/celery/issues/9350)) - Skip test_pool_restart_import_modules on PyPy due to test issue ([#&#8203;9352](https://github.com/celery/celery/issues/9352)) - Update elastic-transport requirement from <=8.15.0 to <=8.15.1 ([#&#8203;9347](https://github.com/celery/celery/issues/9347)) - added dragonfly logo ([#&#8203;9353](https://github.com/celery/celery/issues/9353)) - Update README.rst ([#&#8203;9354](https://github.com/celery/celery/issues/9354)) - Update README.rst ([#&#8203;9355](https://github.com/celery/celery/issues/9355)) - Update mypy to 1.12.0 ([#&#8203;9356](https://github.com/celery/celery/issues/9356)) - Bump Kombu to v5.5.0rc1 ([#&#8203;9357](https://github.com/celery/celery/issues/9357)) - Fix `celery --loader` option parsing ([#&#8203;9361](https://github.com/celery/celery/issues/9361)) - Add support for Google Pub/Sub transport ([#&#8203;9351](https://github.com/celery/celery/issues/9351)) - Add native incr support for GCSBackend ([#&#8203;9302](https://github.com/celery/celery/issues/9302)) - fix(perform_pending_operations): prevent task duplication on shutdown… ([#&#8203;9348](https://github.com/celery/celery/issues/9348)) - Update grpcio to 1.67.0 ([#&#8203;9365](https://github.com/celery/celery/issues/9365)) - Update google-cloud-firestore to 2.19.0 ([#&#8203;9364](https://github.com/celery/celery/issues/9364)) - Annotate celery/utils/timer2.py ([#&#8203;9362](https://github.com/celery/celery/issues/9362)) - Update cryptography to 43.0.3 ([#&#8203;9366](https://github.com/celery/celery/issues/9366)) - Update mypy to 1.12.1 ([#&#8203;9368](https://github.com/celery/celery/issues/9368)) - Bump mypy from 1.12.1 to 1.13.0 ([#&#8203;9373](https://github.com/celery/celery/issues/9373)) - Pass timeout and confirm_timeout to producer.publish() ([#&#8203;9374](https://github.com/celery/celery/issues/9374)) - Bump Kombu to v5.5.0rc2 ([#&#8203;9382](https://github.com/celery/celery/issues/9382)) - Bump pytest-cov from 5.0.0 to 6.0.0 ([#&#8203;9388](https://github.com/celery/celery/issues/9388)) - default strict to False for pydantic tasks ([#&#8203;9393](https://github.com/celery/celery/issues/9393)) - Only log that global QoS is disabled if using amqp ([#&#8203;9395](https://github.com/celery/celery/issues/9395)) - chore: update sponsorship logo ([#&#8203;9398](https://github.com/celery/celery/issues/9398)) - Allow custom hostname for celery_worker in celery.contrib.pytest / celery.contrib.testing.worker ([#&#8203;9405](https://github.com/celery/celery/issues/9405)) - Removed docker-docs from CI (optional job, malfunctioning) ([#&#8203;9406](https://github.com/celery/celery/issues/9406)) - Added a utility to format changelogs from the auto-generated GitHub release notes ([#&#8203;9408](https://github.com/celery/celery/issues/9408)) - Bump codecov/codecov-action from 4 to 5 ([#&#8203;9412](https://github.com/celery/celery/issues/9412)) - Update elasticsearch requirement from <=8.15.1 to <=8.16.0 ([#&#8203;9410](https://github.com/celery/celery/issues/9410)) - Native Delayed Delivery in RabbitMQ ([#&#8203;9207](https://github.com/celery/celery/issues/9207)) - Prepare for (pre) release: v5.5.0rc2 ([#&#8203;9416](https://github.com/celery/celery/issues/9416)) - Document usage of broker_native_delayed_delivery_queue_type ([#&#8203;9419](https://github.com/celery/celery/issues/9419)) - Adjust section in what's new document regarding quorum queues support ([#&#8203;9420](https://github.com/celery/celery/issues/9420)) - Update pytest-rerunfailures to 15.0 ([#&#8203;9422](https://github.com/celery/celery/issues/9422)) - Document group unrolling ([#&#8203;9421](https://github.com/celery/celery/issues/9421)) - fix small typo acces -> access ([#&#8203;9434](https://github.com/celery/celery/issues/9434)) - Update cryptography to 44.0.0 ([#&#8203;9437](https://github.com/celery/celery/issues/9437)) - Added pypy to Dockerfile ([#&#8203;9438](https://github.com/celery/celery/issues/9438)) - Skipped flaky tests on pypy (all pass after ~10 reruns) ([#&#8203;9439](https://github.com/celery/celery/issues/9439)) - Allowing managed credentials for azureblockblob ([#&#8203;9430](https://github.com/celery/celery/issues/9430)) - Allow passing Celery objects to the Click entry point ([#&#8203;9426](https://github.com/celery/celery/issues/9426)) - support Request termination for gevent ([#&#8203;9440](https://github.com/celery/celery/issues/9440)) - Prevent event_mask from being overwritten. ([#&#8203;9432](https://github.com/celery/celery/issues/9432)) - Update pytest to 8.3.4 ([#&#8203;9444](https://github.com/celery/celery/issues/9444)) - Prepare for (pre) release: v5.5.0rc3 ([#&#8203;9450](https://github.com/celery/celery/issues/9450)) - Bugfix: SIGQUIT not initiating cold shutdown when `task_acks_late=False` ([#&#8203;9461](https://github.com/celery/celery/issues/9461)) - Fixed pycurl dep with Python 3.8 ([#&#8203;9471](https://github.com/celery/celery/issues/9471)) - Update elasticsearch requirement from <=8.16.0 to <=8.17.0 ([#&#8203;9469](https://github.com/celery/celery/issues/9469)) - Bump pytest-subtests from 0.13.1 to 0.14.1 ([#&#8203;9459](https://github.com/celery/celery/issues/9459)) - documentation: Added a type annotation to the periodic task example ([#&#8203;9473](https://github.com/celery/celery/issues/9473)) - Prepare for (pre) release: v5.5.0rc4 ([#&#8203;9474](https://github.com/celery/celery/issues/9474)) - Bump mypy from 1.13.0 to 1.14.0 ([#&#8203;9476](https://github.com/celery/celery/issues/9476)) - Fix cassandra backend port settings not working ([#&#8203;9465](https://github.com/celery/celery/issues/9465)) - Unroll group when a group with a single item is chained using the | operator ([#&#8203;9456](https://github.com/celery/celery/issues/9456)) - fix(django): catch the right error when trying to close db connection ([#&#8203;9392](https://github.com/celery/celery/issues/9392)) - Replacing a task with a chain which contains a group now returns a result instead of hanging ([#&#8203;9484](https://github.com/celery/celery/issues/9484)) - Avoid using a group of one as it is now unrolled into a chain ([#&#8203;9510](https://github.com/celery/celery/issues/9510)) - Link to the correct IRC network ([#&#8203;9509](https://github.com/celery/celery/issues/9509)) - Bump pytest-github-actions-annotate-failures from 0.2.0 to 0.3.0 ([#&#8203;9504](https://github.com/celery/celery/issues/9504)) - Update canvas.rst to fix output result from chain object ([#&#8203;9502](https://github.com/celery/celery/issues/9502)) - Unauthorized Changes Cleanup ([#&#8203;9528](https://github.com/celery/celery/issues/9528)) - \[RE-APPROVED] fix(django): catch the right error when trying to close db connection ([#&#8203;9529](https://github.com/celery/celery/issues/9529)) - \[RE-APPROVED] Link to the correct IRC network ([#&#8203;9531](https://github.com/celery/celery/issues/9531)) - \[RE-APPROVED] Update canvas.rst to fix output result from chain object ([#&#8203;9532](https://github.com/celery/celery/issues/9532)) - Update test-ci-base.txt ([#&#8203;9539](https://github.com/celery/celery/issues/9539)) - Update install-pyenv.sh ([#&#8203;9540](https://github.com/celery/celery/issues/9540)) - Update elasticsearch requirement from <=8.17.0 to <=8.17.1 ([#&#8203;9518](https://github.com/celery/celery/issues/9518)) - Bump google-cloud-firestore from 2.19.0 to 2.20.0 ([#&#8203;9493](https://github.com/celery/celery/issues/9493)) - Bump mypy from 1.14.0 to 1.14.1 ([#&#8203;9483](https://github.com/celery/celery/issues/9483)) - Update elastic-transport requirement from <=8.15.1 to <=8.17.0 ([#&#8203;9490](https://github.com/celery/celery/issues/9490)) - Update Dockerfile by adding missing Python version 3.13 ([#&#8203;9549](https://github.com/celery/celery/issues/9549)) - Fix typo for default of sig ([#&#8203;9495](https://github.com/celery/celery/issues/9495)) - fix(crontab): resolve constructor type conflicts ([#&#8203;9551](https://github.com/celery/celery/issues/9551)) - worker_max_memory_per_child: kilobyte is 1024 bytes ([#&#8203;9553](https://github.com/celery/celery/issues/9553)) - Fix formatting in quorum queue docs ([#&#8203;9555](https://github.com/celery/celery/issues/9555)) - Bump cryptography from 44.0.0 to 44.0.1 ([#&#8203;9556](https://github.com/celery/celery/issues/9556)) - Fix the send_task method when detecting if the native delayed delivery approach is available ([#&#8203;9552](https://github.com/celery/celery/issues/9552)) - Reverted PR [#&#8203;7814](https://github.com/celery/celery/issues/7814) & minor code improvement ([#&#8203;9494](https://github.com/celery/celery/issues/9494)) - Improved donation and sponsorship visibility ([#&#8203;9558](https://github.com/celery/celery/issues/9558)) - Updated the Getting Help section, replacing deprecated with new resources ([#&#8203;9559](https://github.com/celery/celery/issues/9559)) - Fixed django example ([#&#8203;9562](https://github.com/celery/celery/issues/9562)) - Bump Kombu to v5.5.0rc3 ([#&#8203;9564](https://github.com/celery/celery/issues/9564)) - Bump ephem from 4.1.6 to 4.2 ([#&#8203;9565](https://github.com/celery/celery/issues/9565)) - Bump pytest-celery to v1.2.0 ([#&#8203;9568](https://github.com/celery/celery/issues/9568)) - Remove dependency on `pycurl` ([#&#8203;9526](https://github.com/celery/celery/issues/9526)) - Set TestWorkController.**test** ([#&#8203;9574](https://github.com/celery/celery/issues/9574)) - Fixed bug when revoking by stamped headers a stamp that does not exist ([#&#8203;9575](https://github.com/celery/celery/issues/9575)) - Canvas Stamping Doc Fixes ([#&#8203;9578](https://github.com/celery/celery/issues/9578)) - Bugfix: Chord with a chord in header doesn't invoke error callback on inner chord header failure (default config) ([#&#8203;9580](https://github.com/celery/celery/issues/9580)) - Prepare for (pre) release: v5.5.0rc5 ([#&#8203;9582](https://github.com/celery/celery/issues/9582)) - Bump google-cloud-firestore from 2.20.0 to 2.20.1 ([#&#8203;9584](https://github.com/celery/celery/issues/9584)) - Fix tests with Click 8.2 ([#&#8203;9590](https://github.com/celery/celery/issues/9590)) - Bump cryptography from 44.0.1 to 44.0.2 ([#&#8203;9591](https://github.com/celery/celery/issues/9591)) - Update elasticsearch requirement from <=8.17.1 to <=8.17.2 ([#&#8203;9594](https://github.com/celery/celery/issues/9594)) - Bump pytest from 8.3.4 to 8.3.5 ([#&#8203;9598](https://github.com/celery/celery/issues/9598)) - Refactored and Enhanced DelayedDelivery bootstep ([#&#8203;9599](https://github.com/celery/celery/issues/9599)) - Improve docs about acks_on_failure_or_timeout ([#&#8203;9577](https://github.com/celery/celery/issues/9577)) - Update SECURITY.md ([#&#8203;9609](https://github.com/celery/celery/issues/9609)) - remove flake8plus as not needed anymore ([#&#8203;9610](https://github.com/celery/celery/issues/9610)) - remove \[bdist_wheel] universal = 0 from setup.cfg as not needed ([#&#8203;9611](https://github.com/celery/celery/issues/9611)) - remove importlib-metadata as not needed in python3.8 anymore ([#&#8203;9612](https://github.com/celery/celery/issues/9612)) - feat: define exception_safe_to_retry for redisbackend ([#&#8203;9614](https://github.com/celery/celery/issues/9614)) - Bump Kombu to v5.5.0 ([#&#8203;9615](https://github.com/celery/celery/issues/9615)) - Update elastic-transport requirement from <=8.17.0 to <=8.17.1 ([#&#8203;9616](https://github.com/celery/celery/issues/9616)) - \[docs] fix first-steps ([#&#8203;9618](https://github.com/celery/celery/issues/9618)) - Revert "Improve docs about acks_on_failure_or_timeout" ([#&#8203;9606](https://github.com/celery/celery/issues/9606)) - Improve CI stability and performance ([#&#8203;9624](https://github.com/celery/celery/issues/9624)) - Improved explanation for Database transactions at user guide for tasks ([#&#8203;9617](https://github.com/celery/celery/issues/9617)) - update tests to use python 3.8 codes only ([#&#8203;9627](https://github.com/celery/celery/issues/9627)) - [#&#8203;9597](https://github.com/celery/celery/issues/9597): Ensure surpassing Hard Timeout limit when task_acks_on_failure_or_timeout is False rejects the task ([#&#8203;9626](https://github.com/celery/celery/issues/9626)) - Lock Kombu to v5.5.x (using urllib3 instead of pycurl) ([#&#8203;9632](https://github.com/celery/celery/issues/9632)) - Lock pytest-celery to v1.2.x (using urllib3 instead of pycurl) ([#&#8203;9633](https://github.com/celery/celery/issues/9633)) - Add Codecov Test Analytics ([#&#8203;9635](https://github.com/celery/celery/issues/9635)) - Bump Kombu to v5.5.2 ([#&#8203;9643](https://github.com/celery/celery/issues/9643)) - Prepare for release: v5.5.0 ([#&#8203;9644](https://github.com/celery/celery/issues/9644)) .. \_version-5.5.0rc5: </details> --- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kumi merged commit d30fcd51a4 into main 2025-04-02 05:31:11 +00:00
kumi deleted branch renovate/celery-5.x-lockfile 2025-04-02 05:31:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PrivateCoffee/quackscape#65
No description provided.