forked from pool/python-celery
- Update to 3.0.13:
- Now depends on Kombu 2.5
- py-amqp has replaced amqplib as the default transport,
gaining support for AMQP 0.9, and the RabbitMQ extensions
including Consumer Cancel Notifications and heartbeats.
- support for multiple connection URLs for failover.
- Read more in the Kombu 2.5 changelog.
- Now depends on billiard 2.7.3.19
- Fixed a deadlock issue that could occur when the producer pool
inherited the connection pool instance of the parent process.
- The --loader option now works again (Issue #1066).
- celery umbrella command: All subcommands now supports
the --workdir option (Issue #1063).
- Groups included in chains now give GroupResults (Issue #1057)
Previously it would incorrectly add a regular result instead of a group
result, but now this works:
# [4 + 4, 4 + 8, 16 + 8]
>>> res = (add.s(2, 2) | group(add.s(4), add.s(8), add.s(16)))()
>>> res
<GroupResult: a0acf905-c704-499e-b03a-8d445e6398f7 [
4346501c-cb99-4ad8-8577-12256c7a22b1,
b12ead10-a622-4d44-86e9-3193a778f345,
26c7a420-11f3-4b33-8fac-66cd3b62abfd]>
- Chains can now chain other chains and use partial arguments (Issue #1057).
Example:
>>> c1 = (add.s(2) | add.s(4))
>>> c2 = (add.s(8) | add.s(16))
>>> c3 = (c1 | c2)
# 8 + 2 + 4 + 8 + 16
>>> assert c3(8).get() == 38
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=74
This commit is contained in:
committed by
Git OBS Bridge
parent
a8371afa35
commit
f776f7ac60
@@ -1,3 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 16:34:24 UTC 2013 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 3.0.13:
|
||||
- Now depends on Kombu 2.5
|
||||
- py-amqp has replaced amqplib as the default transport,
|
||||
gaining support for AMQP 0.9, and the RabbitMQ extensions
|
||||
including Consumer Cancel Notifications and heartbeats.
|
||||
- support for multiple connection URLs for failover.
|
||||
- Read more in the Kombu 2.5 changelog.
|
||||
- Now depends on billiard 2.7.3.19
|
||||
- Fixed a deadlock issue that could occur when the producer pool
|
||||
inherited the connection pool instance of the parent process.
|
||||
- The --loader option now works again (Issue #1066).
|
||||
- celery umbrella command: All subcommands now supports
|
||||
the --workdir option (Issue #1063).
|
||||
- Groups included in chains now give GroupResults (Issue #1057)
|
||||
Previously it would incorrectly add a regular result instead of a group
|
||||
result, but now this works:
|
||||
|
||||
# [4 + 4, 4 + 8, 16 + 8]
|
||||
>>> res = (add.s(2, 2) | group(add.s(4), add.s(8), add.s(16)))()
|
||||
>>> res
|
||||
<GroupResult: a0acf905-c704-499e-b03a-8d445e6398f7 [
|
||||
4346501c-cb99-4ad8-8577-12256c7a22b1,
|
||||
b12ead10-a622-4d44-86e9-3193a778f345,
|
||||
26c7a420-11f3-4b33-8fac-66cd3b62abfd]>
|
||||
|
||||
- Chains can now chain other chains and use partial arguments (Issue #1057).
|
||||
Example:
|
||||
>>> c1 = (add.s(2) | add.s(4))
|
||||
>>> c2 = (add.s(8) | add.s(16))
|
||||
|
||||
>>> c3 = (c1 | c2)
|
||||
|
||||
# 8 + 2 + 4 + 8 + 16
|
||||
>>> assert c3(8).get() == 38
|
||||
|
||||
- Subtasks can now be used with unregistered tasks.
|
||||
You can specify subtasks even if you just have the name:
|
||||
|
||||
>>> s = subtask(task_name, args=(), kwargs=())
|
||||
>>> s.delay()
|
||||
|
||||
- The celery shell command now always adds the current
|
||||
directory to the module path.
|
||||
- The worker will now properly handle the pytz.AmbiguousTimeError
|
||||
exception raised when an ETA/countdown is prepared while being in DST
|
||||
transition (Issue #1061).
|
||||
- force_execv: Now makes sure that task symbols in the original
|
||||
task modules will always use the correct app instance (Issue #1072).
|
||||
- AMQP Backend: Now republishes result messages that have been polled
|
||||
(using result.ready() and friends, result.get() will not do this
|
||||
in this version).
|
||||
- Crontab schedule values can now "wrap around"
|
||||
This means that values like ``11-1`` translates to ``[11, 12, 1]``.
|
||||
Contributed by Loren Abrams.
|
||||
- multi stopwait command now shows the pid of processes.
|
||||
Contributed by Loren Abrams.
|
||||
- Handling of ETA/countdown fixed when the CELERY_ENABLE_UTC
|
||||
setting is disabled (Issue #1065).
|
||||
- A number of uneeded properties were included in messages,
|
||||
caused by accidentally passing Queue.as_dict as message properties.
|
||||
- Rate limit values can now be float
|
||||
This also extends the string format so that values like "0.5/s" works.
|
||||
Contributed by Christoph Krybus
|
||||
- Fixed a typo in the broadcast routing documentation (Issue #1026).
|
||||
- Rewrote confusing section about idempotence in the task user guide.
|
||||
- Fixed typo in the daemonization tutorial (Issue #1055).
|
||||
- Fixed several typos in the documentation.
|
||||
Contributed by Marius Gedminas.
|
||||
- Batches: Now works when using the eventlet pool.
|
||||
Fix contributed by Thomas Grainger.
|
||||
- Batches: Added example sending results to celery.contrib.batches.
|
||||
Contributed by Thomas Grainger.
|
||||
- Mongodb backend: Connection max_pool_size can now be set in
|
||||
CELERY_MONGODB_BACKEND_SETTINGS.
|
||||
Contributed by Craig Younkins.
|
||||
- Fixed problem when using earlier versions of pytz.
|
||||
Fix contributed by Vlad.
|
||||
- Docs updated to include the default value for the
|
||||
CELERY_TASK_RESULT_EXPIRES setting.
|
||||
- Improvements to the django-celery tutorial.
|
||||
Contributed by Locker537.
|
||||
- The add_consumer control command did not properly persist
|
||||
the addition of new queues so that they survived connection failure
|
||||
(Issue #1079).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 6 18:00:40 UTC 2012 - alexandre@exatati.com.br
|
||||
|
||||
|
||||
Reference in New Issue
Block a user