summaryrefslogtreecommitdiff
path: root/net/py-celery
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-17 19:36:41 +0000
committeradam <adam@pkgsrc.org>2020-05-17 19:36:41 +0000
commit0467667177b50cb739c38a53dd5c45dfdbb426cd (patch)
tree2daab31cf59b35fc3acfe385788dc3b3572d70b0 /net/py-celery
parent7a16a459b84c2c5b02631dc926f3e69fe32d5c3f (diff)
downloadpkgsrc-0467667177b50cb739c38a53dd5c45dfdbb426cd.tar.gz
py-celery: updated to 4.4.2
4.4.0 ======= - This version is officially supported on CPython 2.7, 3.5, 3.6, 3.7 & 3.8 and is also supported on PyPy2 & PyPy3. - Kombu 4.6.7 - Task class definitions can have retry attributes 4.4.0rc5 ======== - Kombu 4.6.7 - Events bootstep disabled if no events - SQS - Reject on failure - Add a concurrency model with ThreadPoolExecutor - Add auto expiry for DynamoDB backend - Store extending result in all backends - Fix a race condition when publishing a very large chord header - Improve docs and test matrix 4.4.0rc4 ======== - Kombu 4.6.6 - Py-AMQP 2.5.2 - Python 3.8 - Numerious bug fixes - PyPy 7.2 4.4.0rc3 ======== - Kombu 4.6.4 - Billiard 3.6.1 - Py-AMQP 2.5.1 - Avoid serializing datetime - Fix: (group() | group()) not equals single group - Revert "Broker connection uses the heartbeat setting from app config. - Additional file descriptor safety checks. - fixed call for null args - Added generic path for cache backend. - Fix Nested group(chain(group)) fails - Use self.run() when overriding __call__ - Fix termination of asyncloop - Fix migrate task to work with both v1 and v2 of the message protocol. - Updating task_routes config during runtime now have effect. 4.4.0rc2 ======== - Many bugs and regressions fixed. - Kombu 4.6.3 4.4.0rc1 ======== - Python 3.4 drop - Kombu 4.6.1 - Replace deprecated PyMongo methods usage - Pass task request when calling update_state - Fix bug in remaining time calculation in case of DST time change - Fix missing task name when requesting extended result - Fix `collections` import issue on Python 2.7 - handle `AttributeError` in base backend exception deserializer - Make `AsynPool`'s `proc_alive_timeout` configurable - AMQP Support for extended result - Fix SQL Alchemy results backend to work with extended result - Fix restoring of exceptions with required param - Django: Re-raise exception if `ImportError` not caused by missing tasks module - Django: fixed a regression putting DB connections in invalid state when `CONN_MAX_AGE != 0` - Fixed `OSError` leading to lost connection to broker - Fixed an issue with inspect API unable get details of Request - Fix mogodb backend authentication - Change column type for Extended Task Meta args/kwargs to LargeBinary - Handle http_auth in Elasticsearch backend results - Fix task serializer being ignored with `task_always_eager=True` - Fix `task.replace` to work in `.apply() as well as `.apply_async()` - Fix sending of `worker_process_init` signal for solo worker - Fix exception message upacking - Add delay parameter function to beat_schedule - Multiple documentation updates
Diffstat (limited to 'net/py-celery')
-rw-r--r--net/py-celery/Makefile16
-rw-r--r--net/py-celery/PLIST5
-rw-r--r--net/py-celery/distinfo11
-rw-r--r--net/py-celery/patches/patch-requirements_test.txt12
4 files changed, 16 insertions, 28 deletions
diff --git a/net/py-celery/Makefile b/net/py-celery/Makefile
index b2693a6e460..d317f75f745 100644
--- a/net/py-celery/Makefile
+++ b/net/py-celery/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2019/04/05 13:05:22 adam Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/17 19:36:41 adam Exp $
-DISTNAME= celery-4.3.0
+DISTNAME= celery-4.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/celery/}
@@ -10,21 +10,19 @@ HOMEPAGE= http://www.celeryproject.org/
COMMENT= Asynchronous task/job queue based on distributed message passing
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-billiard>=3.6.0.0:../../parallel/py-billiard
-DEPENDS+= ${PYPKGPREFIX}-kombu>=4.4.0:../../net/py-kombu
+DEPENDS+= ${PYPKGPREFIX}-billiard>=3.6.3.0:../../parallel/py-billiard
+DEPENDS+= ${PYPKGPREFIX}-kombu>=4.6.8:../../net/py-kombu
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-vine>=1.3.0:../../devel/py-vine
TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-mongo-[0-9]*:../../databases/py-mongo
-# Fix for Python 3.7 (async is a reserved keyword).
-# https://github.com/celery/celery/pull/4879/files
-pre-configure:
- cd ${WRKSRC}/celery/backends && ${MV} async.py asynchronous.py || ${TRUE}
+PYTHON_VERSIONED_DEPENDENCIES= test:test
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} celery celery-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-celery/PLIST b/net/py-celery/PLIST
index ea82fe82e6f..c26650d4e5b 100644
--- a/net/py-celery/PLIST
+++ b/net/py-celery/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/04/05 12:55:50 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/05/17 19:36:41 adam Exp $
bin/celery-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -229,6 +229,9 @@ ${PYSITELIB}/celery/concurrency/prefork.pyo
${PYSITELIB}/celery/concurrency/solo.py
${PYSITELIB}/celery/concurrency/solo.pyc
${PYSITELIB}/celery/concurrency/solo.pyo
+${PYSITELIB}/celery/concurrency/thread.py
+${PYSITELIB}/celery/concurrency/thread.pyc
+${PYSITELIB}/celery/concurrency/thread.pyo
${PYSITELIB}/celery/contrib/__init__.py
${PYSITELIB}/celery/contrib/__init__.pyc
${PYSITELIB}/celery/contrib/__init__.pyo
diff --git a/net/py-celery/distinfo b/net/py-celery/distinfo
index 0f964cd81a2..d6b9cab4242 100644
--- a/net/py-celery/distinfo
+++ b/net/py-celery/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.10 2019/04/05 12:55:50 adam Exp $
+$NetBSD: distinfo,v 1.11 2020/05/17 19:36:41 adam Exp $
-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
+SHA1 (celery-4.4.2.tar.gz) = 87a82da33db858e625934a765d3e5b0ebaa0903e
+RMD160 (celery-4.4.2.tar.gz) = 4c63de7a04d785d8164ffd70f5bf854cc429c858
+SHA512 (celery-4.4.2.tar.gz) = 2d0aaf1cb51db162b55f679de194404cc596ac08b47e52581b1bc1d8b39546b44ec682d9eba64f5341884b62e846fb5df8feb2ad11f5213af0384656124abaf4
+Size (celery-4.4.2.tar.gz) = 1448133 bytes
diff --git a/net/py-celery/patches/patch-requirements_test.txt b/net/py-celery/patches/patch-requirements_test.txt
deleted file mode 100644
index 54b331e4f39..00000000000
--- a/net/py-celery/patches/patch-requirements_test.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-requirements_test.txt,v 1.2 2019/04/05 12:55:50 adam Exp $
-
-Allow newer pytest.
-
---- requirements/test.txt.orig 2019-03-27 10:38:49.000000000 +0000
-+++ requirements/test.txt
-@@ -1,4 +1,4 @@
- case>=1.3.1
--pytest>=4.3.1,<4.4.0
-+pytest>=4.3.1
- boto3>=1.4.6
- moto==1.3.7