summaryrefslogtreecommitdiff
path: root/net/py-celery
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-05 12:55:50 +0000
committeradam <adam@pkgsrc.org>2019-04-05 12:55:50 +0000
commita051e7a8ee4f57cefe4b2db6a4ac3a2925eaa714 (patch)
tree2d2fd09e44690bda1e0aa384c31a0486e40e63b4 /net/py-celery
parent76e26f511977dc16887a2d8ba611e91e6e8b0098 (diff)
downloadpkgsrc-a051e7a8ee4f57cefe4b2db6a4ac3a2925eaa714.tar.gz
py-celery: updated to 4.3.0
4.3.0: - Added support for broadcasting using a regular expression pattern or a glob pattern to multiple Pidboxes. - Added support for PEP 420 namespace packages. - Added :setting:acks_on_failure_or_timeout as a setting instead of a task only option. - Added the :signal:task_received signal. - Fixed a crash of our CLI that occurred for everyone using Python < 3.6. - Fixed a crash that occurred when using the Redis result backend while the :setting:result_expires is set to None. - Added support the DNS seedlist connection format for the MongoDB result backend. - Bump the minimum eventlet version to 0.24.1. - Replace the msgpack-python package with msgpack. - Allow scheduling error handlers which are not registered tasks in the current worker. - Additional fixes and enhancements to the SSL support of the Redis broker and result backend.
Diffstat (limited to 'net/py-celery')
-rw-r--r--net/py-celery/ALTERNATIVES2
-rw-r--r--net/py-celery/Makefile7
-rw-r--r--net/py-celery/PLIST16
-rw-r--r--net/py-celery/distinfo14
-rw-r--r--net/py-celery/patches/patch-celery_backends_redis.py34
-rw-r--r--net/py-celery/patches/patch-celery_backends_rpc.py35
-rw-r--r--net/py-celery/patches/patch-requirements_test.txt12
7 files changed, 32 insertions, 88 deletions
diff --git a/net/py-celery/ALTERNATIVES b/net/py-celery/ALTERNATIVES
index 610d090bc6d..c36cfc4ddf3 100644
--- a/net/py-celery/ALTERNATIVES
+++ b/net/py-celery/ALTERNATIVES
@@ -1 +1 @@
-bin/celery @PREFIX@/bin/celery@PYVERSSUFFIX@
+bin/celery @PREFIX@/bin/celery-@PYVERSSUFFIX@
diff --git a/net/py-celery/Makefile b/net/py-celery/Makefile
index d80f395fe16..e07a848cb96 100644
--- a/net/py-celery/Makefile
+++ b/net/py-celery/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2018/08/07 08:41:26 adam Exp $
+# $NetBSD: Makefile,v 1.16 2019/04/05 12:55:50 adam Exp $
-DISTNAME= celery-4.2.1
+DISTNAME= celery-4.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/celery/}
@@ -22,7 +22,8 @@ pre-configure:
cd ${WRKSRC}/celery/backends && ${MV} async.py asynchronous.py || ${TRUE}
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} celery celery${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} celery celery-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-celery/PLIST b/net/py-celery/PLIST
index 2d0cf9594f3..ea82fe82e6f 100644
--- a/net/py-celery/PLIST
+++ b/net/py-celery/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2018/07/06 07:51:21 adam Exp $
-bin/celery${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.5 2019/04/05 12:55:50 adam Exp $
+bin/celery-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -79,9 +79,15 @@ ${PYSITELIB}/celery/backends/__init__.pyo
${PYSITELIB}/celery/backends/amqp.py
${PYSITELIB}/celery/backends/amqp.pyc
${PYSITELIB}/celery/backends/amqp.pyo
+${PYSITELIB}/celery/backends/arangodb.py
+${PYSITELIB}/celery/backends/arangodb.pyc
+${PYSITELIB}/celery/backends/arangodb.pyo
${PYSITELIB}/celery/backends/asynchronous.py
${PYSITELIB}/celery/backends/asynchronous.pyc
${PYSITELIB}/celery/backends/asynchronous.pyo
+${PYSITELIB}/celery/backends/azureblockblob.py
+${PYSITELIB}/celery/backends/azureblockblob.pyc
+${PYSITELIB}/celery/backends/azureblockblob.pyo
${PYSITELIB}/celery/backends/base.py
${PYSITELIB}/celery/backends/base.pyc
${PYSITELIB}/celery/backends/base.pyo
@@ -94,6 +100,9 @@ ${PYSITELIB}/celery/backends/cassandra.pyo
${PYSITELIB}/celery/backends/consul.py
${PYSITELIB}/celery/backends/consul.pyc
${PYSITELIB}/celery/backends/consul.pyo
+${PYSITELIB}/celery/backends/cosmosdbsql.py
+${PYSITELIB}/celery/backends/cosmosdbsql.pyc
+${PYSITELIB}/celery/backends/cosmosdbsql.pyo
${PYSITELIB}/celery/backends/couchbase.py
${PYSITELIB}/celery/backends/couchbase.pyc
${PYSITELIB}/celery/backends/couchbase.pyo
@@ -130,6 +139,9 @@ ${PYSITELIB}/celery/backends/riak.pyo
${PYSITELIB}/celery/backends/rpc.py
${PYSITELIB}/celery/backends/rpc.pyc
${PYSITELIB}/celery/backends/rpc.pyo
+${PYSITELIB}/celery/backends/s3.py
+${PYSITELIB}/celery/backends/s3.pyc
+${PYSITELIB}/celery/backends/s3.pyo
${PYSITELIB}/celery/beat.py
${PYSITELIB}/celery/beat.pyc
${PYSITELIB}/celery/beat.pyo
diff --git a/net/py-celery/distinfo b/net/py-celery/distinfo
index 7ed2ef265df..0f964cd81a2 100644
--- a/net/py-celery/distinfo
+++ b/net/py-celery/distinfo
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.9 2018/08/07 08:41:26 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/04/05 12:55:50 adam Exp $
-SHA1 (celery-4.2.1.tar.gz) = 1d1c125b8621b0ab4c90b4f094995581aaf9044f
-RMD160 (celery-4.2.1.tar.gz) = 36d9697dbc2c312ed0ae65b43e121db1c4980afd
-SHA512 (celery-4.2.1.tar.gz) = 474733200e0f6aadbfab5deeb43ee563618687792d43219ebc81a53084ad491cafa410d6bb56153c3d14c76d358ce119f0055ee9b6c31e6becfe8ddf2d2178ad
-Size (celery-4.2.1.tar.gz) = 1364075 bytes
-SHA1 (patch-celery_backends_redis.py) = bf2c356adf6cb79a7a0cfb4483a83352a472acbf
-SHA1 (patch-celery_backends_rpc.py) = efb7a2acda99b4f998aa1c34dec8a2ab631e2347
-SHA1 (patch-requirements_test.txt) = d2aa5524643e9804e72235cc1af0aa17123cf2b7
+SHA1 (celery-4.3.0.tar.gz) = a1dda6e867d34e7f9906f0e28a72c9442eba7bb1
+RMD160 (celery-4.3.0.tar.gz) = 6606e0b65d1f711802867400c03b28ec6b9f41d8
+SHA512 (celery-4.3.0.tar.gz) = 91dd16bd6c9544c76d84e468872e052bdf5e1737980a1a3baee914c75c88db44b9ac8de7ddc4278988ca6cb159496b6560cecd6bb51d6352725009e97d268afb
+Size (celery-4.3.0.tar.gz) = 1398430 bytes
+SHA1 (patch-requirements_test.txt) = 3ee245a0572cbec784362195848cdd1475744dd3
diff --git a/net/py-celery/patches/patch-celery_backends_redis.py b/net/py-celery/patches/patch-celery_backends_redis.py
deleted file mode 100644
index c9be3610085..00000000000
--- a/net/py-celery/patches/patch-celery_backends_redis.py
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-celery_backends_redis.py,v 1.1 2018/07/06 07:51:21 adam Exp $
-
-Fix for Python 3.7 (async is a reserved keyword).
-https://github.com/celery/celery/pull/4879/files
-
---- celery/backends/redis.py.orig 2018-06-10 13:53:06.000000000 +0000
-+++ celery/backends/redis.py
-@@ -19,7 +19,7 @@ from celery.utils.functional import dict
- from celery.utils.log import get_logger
- from celery.utils.time import humanize_seconds
-
--from . import async, base
-+from . import asynchronous, base
-
- try:
- from urllib.parse import unquote
-@@ -74,7 +74,7 @@ E_LOST = 'Connection to Redis lost: Retr
- logger = get_logger(__name__)
-
-
--class ResultConsumer(async.BaseResultConsumer):
-+class ResultConsumer(asynchronous.BaseResultConsumer):
- _pubsub = None
-
- def __init__(self, *args, **kwargs):
-@@ -138,7 +138,7 @@ class ResultConsumer(async.BaseResultCon
- self._pubsub.unsubscribe(key)
-
-
--class RedisBackend(base.BaseKeyValueStoreBackend, async.AsyncBackendMixin):
-+class RedisBackend(base.BaseKeyValueStoreBackend, asynchronous.AsyncBackendMixin):
- """Redis task result store."""
-
- ResultConsumer = ResultConsumer
diff --git a/net/py-celery/patches/patch-celery_backends_rpc.py b/net/py-celery/patches/patch-celery_backends_rpc.py
deleted file mode 100644
index b0bb8fc7a8e..00000000000
--- a/net/py-celery/patches/patch-celery_backends_rpc.py
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-celery_backends_rpc.py,v 1.1 2018/07/06 07:51:21 adam Exp $
-
-Fix for Python 3.7 (async is a reserved keyword).
-https://github.com/celery/celery/pull/4879/files
-
---- celery/backends/rpc.py.orig 2018-05-21 09:48:16.000000000 +0000
-+++ celery/backends/rpc.py
-@@ -16,8 +16,7 @@ from celery import states
- from celery._state import current_task, task_join_will_block
- from celery.five import items, range
-
--from . import base
--from .async import AsyncBackendMixin, BaseResultConsumer
-+from . import asynchronous, base
-
- __all__ = ('BacklogLimitExceeded', 'RPCBackend')
-
-@@ -39,7 +38,7 @@ def _on_after_fork_cleanup_backend(backe
- backend._after_fork()
-
-
--class ResultConsumer(BaseResultConsumer):
-+class ResultConsumer(asynchronous.BaseResultConsumer):
- Consumer = kombu.Consumer
-
- _connection = None
-@@ -89,7 +88,7 @@ class ResultConsumer(BaseResultConsumer)
- self._consumer.cancel_by_queue(self._create_binding(task_id).name)
-
-
--class RPCBackend(base.Backend, AsyncBackendMixin):
-+class RPCBackend(base.Backend, asynchronous.AsyncBackendMixin):
- """Base class for the RPC result backend."""
-
- Exchange = kombu.Exchange
diff --git a/net/py-celery/patches/patch-requirements_test.txt b/net/py-celery/patches/patch-requirements_test.txt
index d0cfa5e8a79..54b331e4f39 100644
--- a/net/py-celery/patches/patch-requirements_test.txt
+++ b/net/py-celery/patches/patch-requirements_test.txt
@@ -1,10 +1,12 @@
-$NetBSD: patch-requirements_test.txt,v 1.1 2018/07/06 07:51:21 adam Exp $
+$NetBSD: patch-requirements_test.txt,v 1.2 2019/04/05 12:55:50 adam Exp $
Allow newer pytest.
---- requirements/test.txt.orig 2018-05-21 08:01:42.000000000 +0000
+--- requirements/test.txt.orig 2019-03-27 10:38:49.000000000 +0000
+++ requirements/test.txt
-@@ -1,2 +1,2 @@
+@@ -1,4 +1,4 @@
case>=1.3.1
--pytest>=3.0,<3.3
-+pytest>=3.0
+-pytest>=4.3.1,<4.4.0
++pytest>=4.3.1
+ boto3>=1.4.6
+ moto==1.3.7