Received: by mail.netbsd.org (Postfix, from userid 605) id E1FF285013; Mon, 18 Jun 2018 07:15:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ECBC684ED7 for ; Mon, 18 Jun 2018 07:15:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wEKi75XS0Yfz for ; Mon, 18 Jun 2018 07:15:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6AC2784DF3 for ; Mon, 18 Jun 2018 07:15:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 528F3FBEC; Mon, 18 Jun 2018 07:15:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_152930611744200" MIME-Version: 1.0 Date: Mon, 18 Jun 2018 07:15:17 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/net/py-celery To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20180618071517.528F3FBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_152930611744200 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Mon Jun 18 07:15:17 UTC 2018 Modified Files: pkgsrc/net/py-celery: ALTERNATIVES Makefile distinfo Log Message: py-celery: updated to 4.2.0 4.2.0: - **Task**: Add ignore_result as task execution option - **Redis Result Backend**: Do not create PubSub subscriptions when results are ignored - **Redis Result Backend**: Result consumer always unsubscribes when task state is ready - **Development/Testing**: Add docker-compose and base Dockerfile for development - **Documentation/Sphinx**: Teach autodoc to document tasks if undoc-members is not set - **Documentation/Sphinx**: Put back undoc-members option in sphinx test - **Documentation/Sphinx**: Sphinx autodoc picks up tasks automatically only if undoc-members is set - **Task**: Fix shadow_name issue when using previous version Task class - **Task**: Add support for bound tasks as link_error parameter - **Deployment**: Add a command line option for setting the Result Backend URL - **CI**: Enable pip cache in appveyor build - **Concurrency/Asynpool**: Fix errno property name shadowing. - **DynamoDB Backend**: Configurable endpoint URL - **Timezones**: Correctly detect UTC timezone and timezone from settings - **Control**: Cleanup the mailbox's producer pool after forking - **Documentation**: Start Celery and Celery Beat on Azure WebJob - **Celery Beat**: Schedule due tasks on startup, after Beat restart has occurred - **Worker**: Use absolute time when task is accepted by worker pool - **Canvas**: Propagate arguments to chains inside groups - **Canvas**: Fix Task.replace behavior in nested chords - **Installation**: Pass python_requires argument to setuptools - **Message Protocol Compatibility**: Handle "hybrid" messages that have moved between Celery versions - **Canvas**: request on_timeout now ignores soft time limit exception - **Redis Result Backend**: Integration test to verify PubSub unsubscriptions - **Message Protocol Properties**: Allow the shadow keyword argument and the shadow_name method to set shadow properly - **Canvas**: Run chord_unlock on same queue as chord body - **Canvas**: Support chords with empty header group - **Timezones**: make astimezone call in localize more safe - **Canvas**: Fix length-1 and nested chords - **CI**: Run Openstack Bandit _ in Travis CI in order to detect security issues. - **CI**: Run isort _ in Travis CI in order to lint Python **import** statements. - **Canvas**: Resolve TypeError on .get from nested groups - **CouchDB Backend**: Correct CouchDB key string type for Python 2/3 compatibility - **Group Result**: Fix current_app fallback in GroupResult.restore() - **Consul Backend**: Correct key string type for Python 2/3 compatibility - **Group Result**: Correctly restore an empty GroupResult - **Result**: Disable synchronous waiting for sub-tasks on eager mode - **Celery Beat**: Detect timezone or Daylight Saving Time changes - **Canvas**: Fix append to an empty chain. - **Task**: Allow shadow to override task name in trace and logging messages. - **Documentation/Sphinx**: Fix getfullargspec Python 2.x compatibility in contrib/sphinx.py - **Documentation**: Updated installation instructions for SQS broker - **Celery Beat**: Better equality comparison for ScheduleEntry instances - **Task**: Adding 'shadow' property to as_task_v2 - Try to import directly, do not use deprecated imp method - **Task**: Enable kwargsrepr and argsrepr override for modifying task argument representation - **Result Backend**: Add Redis Sentinel backend - Use unique time values for Collections/LimitedSet - **CI**: Report coverage for all result backends. - **Django**: Use Django DB max age connection setting - **Canvas**: Properly take into account chain tasks link_error - **Canvas**: Allow to create group with single task - **Canvas**: Copy dictionary parameter in chord.from_dict before modifying - **Results Backend**: Add Cassandra options - **Worker**: Apply rate limiting for tasks with ETA - **Celery Beat**: support scheduler entries without a schedule - **SQS Broker**: Updated SQS requirements file with correct boto3 version - Remove unused code from _create_app contextmanager - **Group Result**: Modify GroupResult.as_tuple() to include parent - **Beat**: Set default scheduler class in beat command. - **Worker**: Retry signal receiver after raised exception - **Task**: Allow custom Request class for tasks - **Django**: Django fixup should close all cache backends - **Deployment**: Adds stopasgroup to the supervisor scripts - Using Exception.args to serialize/deserialize exceptions - **Timezones**: Correct calculation of application current time with timezone - **Remote Debugger**: Set the SO_REUSEADDR option on the socket - **Django**: Celery ignores exceptions raised during django.setup() - Use heartbeat setting from application configuration for Broker connection - **Celery Beat**: Fixed exception caused by next_transit receiving an unexpected argument. - **Task** Introduce exponential backoff with Task auto-retry - **AsyncResult**: Remove weak-references to bound methods in AsyncResult promises. - **Development/Testing**: Allow eager application of canvas structures - **Command Line**: Flush stderr before exiting with error code 1. - **Task**: Escapes single quotes in kwargsrepr strings. - **AsyncResult**: Restore ability to join over ResultSet after fixing celery/3818. - **Redis Results Backend**: Unsubscribe on message success. Previously Celery would leak channels, filling the memory of the Redis instance. - **Task**: Only convert eta to isoformat when it is not already a string. - **Redis Results Backend**: The result_backend setting now supports rediss:// URIs - **Canvas** Keyword arguments are passed to tasks in chain as expected. - **Django** Fix a regression casuing Celery to crash when using Django. - **Canvas** Chain with one task now runs as expected. - **Kombu** Celery 4.2 now requires Kombu 4.2 or better. - GreenletExit is not in __all__ in greenlet.py which can not be imported by Python 3.6. The import was adjusted to work on Python 3.6 as well. - Fixed a regression that occured during the development of Celery 4.2 which caused celery report to crash when Django is installed. - Matched the behavior of GroupResult.as_tuple() to that of AsyncResult.as_tuple(). The group's parent is now serialized correctly. - Use Redis coercion mechanism for converting URI query parameters. - Fixed the representation of GroupResult. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-celery/ALTERNATIVES cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/py-celery/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-celery/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_152930611744200 Content-Disposition: inline Content-Length: 2638 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/py-celery/ALTERNATIVES diff -u pkgsrc/net/py-celery/ALTERNATIVES:1.2 pkgsrc/net/py-celery/ALTERNATIVES:1.3 --- pkgsrc/net/py-celery/ALTERNATIVES:1.2 Tue Dec 19 10:19:07 2017 +++ pkgsrc/net/py-celery/ALTERNATIVES Mon Jun 18 07:15:17 2018 @@ -1,4 +1 @@ bin/celery @PREFIX@/bin/celery@PYVERSSUFFIX@ -bin/celerybeat @PREFIX@/bin/celerybeat@PYVERSSUFFIX@ -bin/celeryd @PREFIX@/bin/celeryd@PYVERSSUFFIX@ -bin/celeryd-multi @PREFIX@/bin/celeryd-multi@PYVERSSUFFIX@ Index: pkgsrc/net/py-celery/Makefile diff -u pkgsrc/net/py-celery/Makefile:1.12 pkgsrc/net/py-celery/Makefile:1.13 --- pkgsrc/net/py-celery/Makefile:1.12 Sat Sep 16 19:27:05 2017 +++ pkgsrc/net/py-celery/Makefile Mon Jun 18 07:15:17 2018 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2017/09/16 19:27:05 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2018/06/18 07:15:17 adam Exp $ -DISTNAME= celery-4.1.0 +DISTNAME= celery-4.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=c/celery/} @@ -12,10 +11,10 @@ COMMENT= Asynchronous task/job queue bas LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-billiard>=3.5.0.2:../../parallel/py-billiard -DEPENDS+= ${PYPKGPREFIX}-kombu>=4.1.0:../../net/py-kombu +DEPENDS+= ${PYPKGPREFIX}-kombu>=4.2.0:../../net/py-kombu DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz - -USE_LANGUAGES= c +TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test post-install: ${MV} ${DESTDIR}${PREFIX}/bin/celery \ Index: pkgsrc/net/py-celery/distinfo diff -u pkgsrc/net/py-celery/distinfo:1.6 pkgsrc/net/py-celery/distinfo:1.7 --- pkgsrc/net/py-celery/distinfo:1.6 Tue Jul 25 07:52:32 2017 +++ pkgsrc/net/py-celery/distinfo Mon Jun 18 07:15:17 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2017/07/25 07:52:32 adam Exp $ +$NetBSD: distinfo,v 1.7 2018/06/18 07:15:17 adam Exp $ -SHA1 (celery-4.1.0.tar.gz) = 68c4fcb08b0e1251fdc88cadd68fca2442a163b7 -RMD160 (celery-4.1.0.tar.gz) = 39c21d70a99c055ab45d8c41bee4cca723bda818 -SHA512 (celery-4.1.0.tar.gz) = 5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64 -Size (celery-4.1.0.tar.gz) = 1331689 bytes +SHA1 (celery-4.2.0.tar.gz) = 75a7f526efcdb93d3c8ce5028b129d9683cff6a5 +RMD160 (celery-4.2.0.tar.gz) = c5b575e8f3e20ea6eea9ce2a36b85fc8285f1cf1 +SHA512 (celery-4.2.0.tar.gz) = ad7d18c318b6383e2a44a03f55f44d30f4d2fb6f3d05529376f0b05cbc28a8acbf3961a8d24a039e46917f439c1679d1f55a5957e4bc9587a6643a5c766ca487 +Size (celery-4.2.0.tar.gz) = 1351778 bytes --_----------=_152930611744200--