pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-celery



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 26 08:48:33 UTC 2026

Modified Files:
        pkgsrc/net/py-celery: Makefile distinfo

Log Message:
py-celery: updated to 5.7.0

5.7.0

Canvas, Chains, Groups, and Chords

* Run a replaced task's callbacks once when it is replaced with a chain
* Fix chord link and link-error options so they are passed to the body only
* Fix stamped header revocation
* Count each chord header task only once in the Redis backend
* Fix Redis chord claim cleanup ownership
* Fail the chord when ``chord_unlock`` retry is refused by the broker

Task Execution and Result Handling

* Fix retry argument conflicts when switching calling conventions
* Pass values to backend hooks by position again
* Don't mark a task ``REVOKED`` while another worker is running it
* Keep the first ``SUCCESS`` in the database, MongoDB, and Cassandra backends
* Don't record ``FAILURE`` when ``on_success`` raises after ``SUCCESS`` was stored
* Don't fail a task whose ``SUCCESS`` was stored before the worker was lost
* Fix a worker hang in ``WorkerLostError`` when ``result_backend_always_retry=True``
* Fix ``send_task()`` overriding ``ignore_result`` defaults
* Preserve ``ignore_result`` overrides across task retries
* Make ``Task.apply()`` respect the ``task.ignore_result`` default
* Don't store ``RETRY`` for an ignored result when retrying after a lost worker
* Track every ``AsyncResult`` waiting on a task ID
* Allow ``ResultSet.add()`` after the set's results are ready
* Use the documented retry defaults in the database backend
* Fix Manager warning output during retries
* Wait between retries when the broker refuses a callback publish
* Merge signature options in ``map`` and ``starmap`` ``apply_async()``
* Stop gating task publishing signals on cached receiver lists

Worker Operations

* Ensure worker shutdown state is set even if the shutdown handler's logging or signal dispatch raises
* Cover the second call of ``_ensure_after_fork`` in a test
* Cancel only per-connection timer entries on broker reconnect instead of clearing the worker timer

Celery Beat and Scheduling

* Keep Celery Beat running when a schedule entry fails, and reject impossible crontab dates
* Fix solar schedule timing across daylight-saving time changes
* Enhance timezone localization tests
* Use Cuba's 2025 fall-back in the midnight DST tests

Utilities and Data Structures

* Don't expire or evict re-added ``LimitedSet`` items using their old timestamp
* Give entries copied by ``LimitedSet.update()`` this set's sequence numbers
* Keep the closing bracket when ``saferepr`` truncates the last element
* Fix ``MultiParser`` to honor its configured ``Node`` class

Application and Configuration

* Raise a clear error when ``@shared_task`` is applied twice

Documentation and Developer Experience

* Fix an incorrect sentence in the user guide
* Document the quorum queue delivery limit
* Improve signature documentation
* Update the pull request template with AI-spamming guidelines
* Add guidance for AI agents in the Celery project


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/net/py-celery/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/py-celery/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-celery/Makefile
diff -u pkgsrc/net/py-celery/Makefile:1.29 pkgsrc/net/py-celery/Makefile:1.30
--- pkgsrc/net/py-celery/Makefile:1.29  Mon Apr 28 20:44:05 2025
+++ pkgsrc/net/py-celery/Makefile       Thu Nov 26 08:48:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/04/28 20:44:05 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/11/26 08:48:32 adam Exp $
 
-DISTNAME=      celery-5.5.2
+DISTNAME=      celery-5.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/celery/}
@@ -11,32 +11,30 @@ COMMENT=    Asynchronous task/job queue bas
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-billiard>=4.2.1:../../parallel/py-billiard
-DEPENDS+=      ${PYPKGPREFIX}-click>=8.1.2:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-click-didyoumean>=0.3.0:../../devel/py-click-didyoumean
-DEPENDS+=      ${PYPKGPREFIX}-click-plugins>=1.1.1:../../devel/py-click-plugins
-DEPENDS+=      ${PYPKGPREFIX}-click-repl>=0.2.0:../../devel/py-click-repl
-DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.8.2:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-kombu>=5.5.2:../../net/py-kombu
-DEPENDS+=      ${PYPKGPREFIX}-tzdata>=2022.7:../../time/py-tzdata
+DEPENDS+=      ${PYPKGPREFIX}-billiard>=4.3.2:../../parallel/py-billiard
+DEPENDS+=      ${PYPKGPREFIX}-click>=8.3.1:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-click-didyoumean>=0.3.1:../../devel/py-click-didyoumean
+DEPENDS+=      ${PYPKGPREFIX}-click-plugins>=1.1.1.2:../../devel/py-click-plugins
+DEPENDS+=      ${PYPKGPREFIX}-click-repl>=0.4.1:../../devel/py-click-repl
+DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.9.0:../../time/py-dateutil
+DEPENDS+=      ${PYPKGPREFIX}-kombu>=5.7.0:../../net/py-kombu
+DEPENDS+=      ${PYPKGPREFIX}-tzlocal>=0:../../time/py-tzlocal
 DEPENDS+=      ${PYPKGPREFIX}-vine>=5.1.0:../../devel/py-vine
 TEST_DEPENDS+= ${PYPKGPREFIX}-boto3>=1.26.143:../../net/py-boto3
 TEST_DEPENDS+= ${PYPKGPREFIX}-moto>=4.1.11:../../net/py-moto
 # circular dependency
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-celery-[0-9]*:../../devel/py-test-celery
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-click-[0-9]*:../../
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-order-[0-9]*:../../
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-celery>=0:../../devel/py-test-celery
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-click>=0:../../
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-order>=0:../../
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests>=0.11.0:../../devel/py-test-subtests
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=2.2.0:../../devel/py-test-timeout
 # unlisted but needed
-TEST_DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
-TEST_DEPENDS+= ${PYPKGPREFIX}-mongo-[0-9]*:../../databases/py-mongo
+TEST_DEPENDS+= ${PYPKGPREFIX}-dns>=0:../../net/py-dns
+TEST_DEPENDS+= ${PYPKGPREFIX}-mongo>=0:../../databases/py-mongo
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} celery celery-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    celery
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-celery/distinfo
diff -u pkgsrc/net/py-celery/distinfo:1.20 pkgsrc/net/py-celery/distinfo:1.21
--- pkgsrc/net/py-celery/distinfo:1.20  Mon Apr 28 20:44:05 2025
+++ pkgsrc/net/py-celery/distinfo       Thu Nov 26 08:48:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2025/04/28 20:44:05 adam Exp $
+$NetBSD: distinfo,v 1.21 2026/11/26 08:48:32 adam Exp $
 
-BLAKE2s (celery-5.5.2.tar.gz) = 586f9c805221f4998c4ee3d380d5700664601e14cbd44e613773a2d13a8c8c6e
-SHA512 (celery-5.5.2.tar.gz) = 8630f4a935e3811550d79444a80997d4acd811a8c440c9a463520b9466031e2970c68a929dd05408545fc91cda1877928a0c6ec007e30baa87640545d095dafb
-Size (celery-5.5.2.tar.gz) = 1666892 bytes
+BLAKE2s (celery-5.7.0.tar.gz) = 5940e567925d9c36c6976d960fd4eab198eb1d0dbfef4d0a1ec83d9fb2d0d236
+SHA512 (celery-5.7.0.tar.gz) = 743e0aec0467af8f2396667d94c418653920e540946c63e2857df60063c1f9970f64cc144fbade5151dee413e5269a392faa2cd227bebec2cd4aabb1fc418357
+Size (celery-5.7.0.tar.gz) = 2075113 bytes



Home | Main Index | Thread Index | Old Index