pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-celery py-celery: updated to 4.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1269cc7ad505
branches:  trunk
changeset: 332177:1269cc7ad505
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 05 12:55:50 2019 +0000

description:
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:

 net/py-celery/ALTERNATIVES                           |   2 +-
 net/py-celery/Makefile                               |   7 ++-
 net/py-celery/PLIST                                  |  16 ++++++++-
 net/py-celery/distinfo                               |  14 +++----
 net/py-celery/patches/patch-celery_backends_redis.py |  34 -------------------
 net/py-celery/patches/patch-celery_backends_rpc.py   |  35 --------------------
 net/py-celery/patches/patch-requirements_test.txt    |  12 ++++--
 7 files changed, 32 insertions(+), 88 deletions(-)

diffs (192 lines):

diff -r 497fb6956279 -r 1269cc7ad505 net/py-celery/ALTERNATIVES
--- a/net/py-celery/ALTERNATIVES        Fri Apr 05 12:55:15 2019 +0000
+++ b/net/py-celery/ALTERNATIVES        Fri Apr 05 12:55:50 2019 +0000
@@ -1,1 +1,1 @@
-bin/celery @PREFIX@/bin/celery@PYVERSSUFFIX@
+bin/celery @PREFIX@/bin/celery-@PYVERSSUFFIX@
diff -r 497fb6956279 -r 1269cc7ad505 net/py-celery/Makefile
--- a/net/py-celery/Makefile    Fri Apr 05 12:55:15 2019 +0000
+++ b/net/py-celery/Makefile    Fri Apr 05 12:55:50 2019 +0000
@@ -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 @@
        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 -r 497fb6956279 -r 1269cc7ad505 net/py-celery/PLIST
--- a/net/py-celery/PLIST       Fri Apr 05 12:55:15 2019 +0000
+++ b/net/py-celery/PLIST       Fri Apr 05 12:55:50 2019 +0000
@@ -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/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/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/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 -r 497fb6956279 -r 1269cc7ad505 net/py-celery/distinfo
--- a/net/py-celery/distinfo    Fri Apr 05 12:55:15 2019 +0000
+++ b/net/py-celery/distinfo    Fri Apr 05 12:55:50 2019 +0000
@@ -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 -r 497fb6956279 -r 1269cc7ad505 net/py-celery/patches/patch-celery_backends_redis.py
--- a/net/py-celery/patches/patch-celery_backends_redis.py      Fri Apr 05 12:55:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 497fb6956279 -r 1269cc7ad505 net/py-celery/patches/patch-celery_backends_rpc.py
--- a/net/py-celery/patches/patch-celery_backends_rpc.py        Fri Apr 05 12:55:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 497fb6956279 -r 1269cc7ad505 net/py-celery/patches/patch-requirements_test.txt
--- a/net/py-celery/patches/patch-requirements_test.txt Fri Apr 05 12:55:15 2019 +0000
+++ b/net/py-celery/patches/patch-requirements_test.txt Fri Apr 05 12:55:50 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index