py-celery: updated to 5.0.5

5.0.5
=====
- Ensure keys are strings when deleting results from S3
- Fix a regression breaking `celery --help` and `celery events`

5.0.4
=====
-  DummyClient of cache+memory:// backend now shares state between threads

   This fixes a problem when using our pytest integration with the in memory
   result backend.
   Because the state wasn't shared between threads, 6416 results in test suites
   hanging on `result.get()`.

5.0.3
=====
- Make `--workdir` eager for early handling
- When using the MongoDB backend, don't cleanup if result_expires is 0 or None
- Fix passing queues into purge command
- Restore `app.start()` and `app.worker_main()`
- Detaching no longer creates an extra log file
- Result backend instances are now thread local to ensure thread safety
- Don't upgrade click to 8.x since click-repl doesn't support it yet.
- Restore preload options

5.0.2
=====
- Fix _autodiscover_tasks_from_fixups
- Flush worker prints, notably the banner
- **Breaking Change**: Remove `ha_policy` from queue definition.

    This argument has no effect since RabbitMQ 3.0.
    Therefore, We feel comfortable dropping it in a patch release.

- Python 3.9 support
- **Regression**: When using the prefork pool, pick the fair scheduling strategy by default
- Preserve callbacks when replacing a task with a chain
- Fix max_retries override on `self.retry()`
- Raise proper error when replacing with an empty chain

5.0.1
=====
- Specify UTF-8 as the encoding for log files
- Custom headers now propagate when using the protocol 1 hybrid messages
- Retry creating the database schema for the database results backend
  in case of a race condition
- When using the Redis results backend, awaiting for a chord no longer hangs
  when setting :setting:`result_expires` to 0
- When a user tries to specify the app as an option for the subcommand,
  a custom error message is displayed
- Fix the `--without-gossip`, `--without-mingle`, and `--without-heartbeat`
  options which now work as expected.
- Provide a clearer error message when the application cannot be loaded.
- Avoid printing deprecation warnings for settings when they are loaded from
  Django settings
- Allow lowercase log levels for the `--loglevel` option
- Detaching now works as expected
- Restore broadcasting messages from `celery control`
- Pass back real result for single task chains
- Ensure group tasks a deeply serialized
- Fix chord element counting
- Restore the `celery shell` command

5.0.0
=====
- **Breaking Change** Remove AMQP result backend
- Warn when deprecated settings are used
- Expose retry_policy for Redis result backend
- Prepare Celery to support the yet to be released Python 3.9

5.0.0rc3
========
- More cleanups of leftover Python 2 support

5.0.0rc2
========
- Bump minimum required eventlet version to 0.26.1.
- Update Couchbase Result backend to use SDK V3.
- Restore monkeypatching when gevent or eventlet are used.

5.0.0rc1
========
- Allow to opt out of ordered group results when using the Redis result backend
- **Breaking Change** Remove the deprecated celery.utils.encoding module.

5.0.0b1
=======
- **Breaking Change** Drop support for the Riak result backend
- **Breaking Change** pytest plugin is no longer enabled by default
  Install pytest-celery to enable it.
- **Breaking Change** Brand new CLI based on Click

5.0.0a2
=======
- Bump Kombu version to 5.0

5.0.0a1
=======
- Removed most of the compatibility code that supports Python 2
- Modernized code to work on Python 3.6 and above
This commit is contained in:
adam 2021-05-07 18:02:57 +00:00
parent b3a570db92
commit 29295f3cae
3 changed files with 21 additions and 37 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.18 2020/05/17 19:36:41 adam Exp $
# $NetBSD: Makefile,v 1.19 2021/05/07 18:02:57 adam Exp $
DISTNAME= celery-4.4.2
DISTNAME= celery-5.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/celery/}
@ -11,18 +11,23 @@ COMMENT= Asynchronous task/job queue based on distributed message passing
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-billiard>=3.6.3.0:../../parallel/py-billiard
DEPENDS+= ${PYPKGPREFIX}-kombu>=4.6.8:../../net/py-kombu
DEPENDS+= ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-click-didyoumean>=0.0.3:../../devel/py-click-didyoumean
DEPENDS+= ${PYPKGPREFIX}-click-plugins>=1.1.1:../../devel/py-click-plugins
DEPENDS+= ${PYPKGPREFIX}-click-repl>=0.1.6:../../devel/py-click-repl
DEPENDS+= ${PYPKGPREFIX}-kombu>=5.0.0:../../net/py-kombu
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-vine>=1.3.0:../../devel/py-vine
DEPENDS+= ${PYPKGPREFIX}-vine>=5.0.0:../../devel/py-vine
TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case
TEST_DEPENDS+= ${PYPKGPREFIX}-mongo-[0-9]*:../../databases/py-mongo
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test
PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
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"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2020/05/17 19:36:41 adam Exp $
@comment $NetBSD: PLIST,v 1.7 2021/05/07 18:02:57 adam Exp $
bin/celery-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@ -25,6 +25,9 @@ ${PYSITELIB}/celery/app/amqp.pyo
${PYSITELIB}/celery/app/annotations.py
${PYSITELIB}/celery/app/annotations.pyc
${PYSITELIB}/celery/app/annotations.pyo
${PYSITELIB}/celery/app/autoretry.py
${PYSITELIB}/celery/app/autoretry.pyc
${PYSITELIB}/celery/app/autoretry.pyo
${PYSITELIB}/celery/app/backends.py
${PYSITELIB}/celery/app/backends.pyc
${PYSITELIB}/celery/app/backends.pyo
@ -76,9 +79,6 @@ ${PYSITELIB}/celery/apps/worker.pyo
${PYSITELIB}/celery/backends/__init__.py
${PYSITELIB}/celery/backends/__init__.pyc
${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
@ -133,9 +133,6 @@ ${PYSITELIB}/celery/backends/mongodb.pyo
${PYSITELIB}/celery/backends/redis.py
${PYSITELIB}/celery/backends/redis.pyc
${PYSITELIB}/celery/backends/redis.pyo
${PYSITELIB}/celery/backends/riak.py
${PYSITELIB}/celery/backends/riak.pyc
${PYSITELIB}/celery/backends/riak.pyo
${PYSITELIB}/celery/backends/rpc.py
${PYSITELIB}/celery/backends/rpc.pyc
${PYSITELIB}/celery/backends/rpc.pyo
@ -163,9 +160,6 @@ ${PYSITELIB}/celery/bin/call.pyo
${PYSITELIB}/celery/bin/celery.py
${PYSITELIB}/celery/bin/celery.pyc
${PYSITELIB}/celery/bin/celery.pyo
${PYSITELIB}/celery/bin/celeryd_detach.py
${PYSITELIB}/celery/bin/celeryd_detach.pyc
${PYSITELIB}/celery/bin/celeryd_detach.pyo
${PYSITELIB}/celery/bin/control.py
${PYSITELIB}/celery/bin/control.pyc
${PYSITELIB}/celery/bin/control.pyo
@ -295,9 +289,6 @@ ${PYSITELIB}/celery/events/state.pyo
${PYSITELIB}/celery/exceptions.py
${PYSITELIB}/celery/exceptions.pyc
${PYSITELIB}/celery/exceptions.pyo
${PYSITELIB}/celery/five.py
${PYSITELIB}/celery/five.pyc
${PYSITELIB}/celery/five.pyo
${PYSITELIB}/celery/fixups/__init__.py
${PYSITELIB}/celery/fixups/__init__.pyc
${PYSITELIB}/celery/fixups/__init__.pyo
@ -349,12 +340,6 @@ ${PYSITELIB}/celery/signals.pyo
${PYSITELIB}/celery/states.py
${PYSITELIB}/celery/states.pyc
${PYSITELIB}/celery/states.pyo
${PYSITELIB}/celery/task/__init__.py
${PYSITELIB}/celery/task/__init__.pyc
${PYSITELIB}/celery/task/__init__.pyo
${PYSITELIB}/celery/task/base.py
${PYSITELIB}/celery/task/base.pyc
${PYSITELIB}/celery/task/base.pyo
${PYSITELIB}/celery/utils/__init__.py
${PYSITELIB}/celery/utils/__init__.pyc
${PYSITELIB}/celery/utils/__init__.pyo
@ -376,12 +361,6 @@ ${PYSITELIB}/celery/utils/dispatch/__init__.pyo
${PYSITELIB}/celery/utils/dispatch/signal.py
${PYSITELIB}/celery/utils/dispatch/signal.pyc
${PYSITELIB}/celery/utils/dispatch/signal.pyo
${PYSITELIB}/celery/utils/dispatch/weakref_backports.py
${PYSITELIB}/celery/utils/dispatch/weakref_backports.pyc
${PYSITELIB}/celery/utils/dispatch/weakref_backports.pyo
${PYSITELIB}/celery/utils/encoding.py
${PYSITELIB}/celery/utils/encoding.pyc
${PYSITELIB}/celery/utils/encoding.pyo
${PYSITELIB}/celery/utils/functional.py
${PYSITELIB}/celery/utils/functional.pyc
${PYSITELIB}/celery/utils/functional.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.11 2020/05/17 19:36:41 adam Exp $
$NetBSD: distinfo,v 1.12 2021/05/07 18:02:57 adam Exp $
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
SHA1 (celery-5.0.5.tar.gz) = e793c7ac25a267fc9b37b39c06b854cb9b90235a
RMD160 (celery-5.0.5.tar.gz) = 079351be2b931ce18b96ca9acf293892e15ff12c
SHA512 (celery-5.0.5.tar.gz) = cb941e80dd9084a686f5a712abb23993ba8d255962529d6987cf135c38bfc4b80073704be2f6bb1dd23fb219a5b8aaa69dff05da1741144ec615177295413501
Size (celery-5.0.5.tar.gz) = 1426433 bytes