From 919266b9d10ed8405339ffd9f120e69bd13a050ed2d487bb611aea8ada11f43a Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Sat, 7 Jul 2012 14:14:56 +0000 Subject: [PATCH 1/9] =?UTF-8?q?-=20Update=20to=203.0.0:=20=20=20-=20A=20ne?= =?UTF-8?q?w=20and=20improved=20API,=20that=20is=20both=20simpler=20and=20?= =?UTF-8?q?more=20powerful.=20=20=20-=20The=20worker=20is=20now=20thread-l?= =?UTF-8?q?ess,=20giving=20great=20performance=20improvements.=20=20=20-?= =?UTF-8?q?=20The=20new=20=E2=80=9CCanvas=E2=80=9D=20makes=20it=20easy=20t?= =?UTF-8?q?o=20define=20complex=20workflows.=20=20=20-=20All=20of=20Celery?= =?UTF-8?q?=E2=80=99s=20command=20line=20programs=20are=20now=20available?= =?UTF-8?q?=20from=20a=20=20=20=20=20single=20celery=20umbrella=20command.?= =?UTF-8?q?=20=20=20-=20This=20is=20the=20last=20version=20to=20support=20?= =?UTF-8?q?Python=202.5.=20=20=20-=20Support=20for=20the=20new=20librabbit?= =?UTF-8?q?mq=20C=20client.=20=20=20-=20Redis=20support=20is=20more=20reli?= =?UTF-8?q?able=20with=20improved=20ack=20emulation.=20=20=20-=20Celery=20?= =?UTF-8?q?now=20always=20uses=20UTC=20=20=20-=20Over=20600=20commits,=203?= =?UTF-8?q?0k=20additions/36k=20deletions.=20-=20Please=20read=20documenta?= =?UTF-8?q?tion=20for=20full=20list=20of=20changes:=20=20=20http://docs.ce?= =?UTF-8?q?leryproject.org/en/latest/whatsnew-3.0.html#whatsnew-3-0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=60 --- celery-2.5.5.tar.bz2 | 3 --- celery-3.0.0.tar.bz2 | 3 +++ python-celery.changes | 17 +++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 celery-2.5.5.tar.bz2 create mode 100644 celery-3.0.0.tar.bz2 diff --git a/celery-2.5.5.tar.bz2 b/celery-2.5.5.tar.bz2 deleted file mode 100644 index 7aa1636..0000000 --- a/celery-2.5.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df611d5ca240a8a3df08a2ba9df42a743d44c5c6d671b919b1d04feda78238d1 -size 862021 diff --git a/celery-3.0.0.tar.bz2 b/celery-3.0.0.tar.bz2 new file mode 100644 index 0000000..e073705 --- /dev/null +++ b/celery-3.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6523cb96f6a14f8983b8719324bb50c675404f820905ef83fd66df7c0ecc48 +size 870736 diff --git a/python-celery.changes b/python-celery.changes index f88629d..46f7d53 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Jul 7 14:05:06 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.0: + - A new and improved API, that is both simpler and more powerful. + - The worker is now thread-less, giving great performance improvements. + - The new “Canvas” makes it easy to define complex workflows. + - All of Celery’s command line programs are now available from a + single celery umbrella command. + - This is the last version to support Python 2.5. + - Support for the new librabbitmq C client. + - Redis support is more reliable with improved ack emulation. + - Celery now always uses UTC + - Over 600 commits, 30k additions/36k deletions. +- Please read documentation for full list of changes: + http://docs.celeryproject.org/en/latest/whatsnew-3.0.html#whatsnew-3-0 + ------------------------------------------------------------------- Thu Jun 28 09:04:40 UTC 2012 - saschpe@suse.de diff --git a/python-celery.spec b/python-celery.spec index f03e421..5b1c5cb 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 2.5.5 +Version: 3.0.0 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -84,7 +84,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %{python_sitelib}/* -%doc Changelog README TODO +%doc Changelog README.rst TODO %{_bindir}/camqadm %{_bindir}/celery* From 705913e9b9cee6ffe2a348f67402ab2a8484922ccd1b3231d66ec155ccc96c3f Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Tue, 10 Jul 2012 22:46:07 +0000 Subject: [PATCH 2/9] - Update to 3.0.1: - Now depends on kombu 2.2.5 - inspect now supports limit argument:: myapp.control.inspect(limit=1).ping() - Beat: now works with timezone aware datetime's. - Task classes inheriting from celery import Task mistakingly enabled accept_magic_kwargs. - Fixed bug in inspect scheduled (Issue #829). - Beat: Now resets the schedule to upgrade to UTC. - The celery worker command now works with eventlet/gevent. Previously it would not patch the environment early enough. - The celery command now supports extension commands using setuptools entry-points. Libraries can add additional commands to the celery command by adding an entry-point like:: setup( entry_points=[ 'celery.commands': [ 'foo = my.module:Command', ], ], ...) The command must then support the interface of celery.bin.base.Command. - contrib.migrate: New utilities to move tasks from one queue to another. - celery.contrib.migrate.move_tasks - celery.contrib.migrate.move_task_by_id - The task-sent event now contains exchange and routing_key fields. - Fixes bug with installing on Python 3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=61 --- celery-3.0.0.tar.bz2 | 3 --- celery-3.0.1.tar.bz2 | 3 +++ python-celery.changes | 37 +++++++++++++++++++++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 42 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.0.tar.bz2 create mode 100644 celery-3.0.1.tar.bz2 diff --git a/celery-3.0.0.tar.bz2 b/celery-3.0.0.tar.bz2 deleted file mode 100644 index e073705..0000000 --- a/celery-3.0.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a6523cb96f6a14f8983b8719324bb50c675404f820905ef83fd66df7c0ecc48 -size 870736 diff --git a/celery-3.0.1.tar.bz2 b/celery-3.0.1.tar.bz2 new file mode 100644 index 0000000..afafaa5 --- /dev/null +++ b/celery-3.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8bad0657250f8c82f31aadbd29223b78196abac3cba16b548bb681b98ffe386 +size 872457 diff --git a/python-celery.changes b/python-celery.changes index 46f7d53..d7d6ca7 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Tue Jul 10 22:43:17 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.1: + - Now depends on kombu 2.2.5 + - inspect now supports limit argument:: + myapp.control.inspect(limit=1).ping() + - Beat: now works with timezone aware datetime's. + - Task classes inheriting from celery import Task + mistakingly enabled accept_magic_kwargs. + - Fixed bug in inspect scheduled (Issue #829). + - Beat: Now resets the schedule to upgrade to UTC. + - The celery worker command now works with eventlet/gevent. + Previously it would not patch the environment early enough. + - The celery command now supports extension commands + using setuptools entry-points. + Libraries can add additional commands to the celery + command by adding an entry-point like:: + + setup( + entry_points=[ + 'celery.commands': [ + 'foo = my.module:Command', + ], + ], + ...) + + The command must then support the interface of + celery.bin.base.Command. + - contrib.migrate: New utilities to move tasks from one queue to another. + - celery.contrib.migrate.move_tasks + - celery.contrib.migrate.move_task_by_id + - The task-sent event now contains exchange and routing_key + fields. + - Fixes bug with installing on Python 3. + Fix contributed by Jed Smith. + ------------------------------------------------------------------- Sat Jul 7 14:05:06 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 5b1c5cb..70958df 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.0 +Version: 3.0.1 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -43,7 +43,7 @@ BuildRequires: python-ordereddict BuildRequires: python-unittest2 # See changes entry from "Jun 6 17:31:29 UTC 2012": # TODO/FIXME: Drop this as as soon as possible, d:l:p already has a newer kombu, -Conflicts: python-kombu >= 2.2.0 +Conflicts: python-kombu >= 2.2.5 Requires: python-importlib Requires: python-ordereddict %endif From 88a91c8ca25b09daf803d004699bfd743daa3b00a0f37b920c0f1f613456c1b0 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 20 Jul 2012 21:17:03 +0000 Subject: [PATCH 3/9] - Update to 3.0.3: - amqplib passes the channel object as part of the delivery_info and it's not pickleable, so we now remove it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=62 --- celery-3.0.1.tar.bz2 | 3 --- celery-3.0.3.tar.bz2 | 3 +++ python-celery.changes | 7 +++++++ python-celery.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 celery-3.0.1.tar.bz2 create mode 100644 celery-3.0.3.tar.bz2 diff --git a/celery-3.0.1.tar.bz2 b/celery-3.0.1.tar.bz2 deleted file mode 100644 index afafaa5..0000000 --- a/celery-3.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8bad0657250f8c82f31aadbd29223b78196abac3cba16b548bb681b98ffe386 -size 872457 diff --git a/celery-3.0.3.tar.bz2 b/celery-3.0.3.tar.bz2 new file mode 100644 index 0000000..fb51522 --- /dev/null +++ b/celery-3.0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57eb32392d30bfadca0f10ba8dbedc2483473386446d23a7f5932eb8f9c78d98 +size 874811 diff --git a/python-celery.changes b/python-celery.changes index d7d6ca7..5fdb570 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 20 21:12:59 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.3: + - amqplib passes the channel object as part of the delivery_info + and it's not pickleable, so we now remove it. + ------------------------------------------------------------------- Tue Jul 10 22:43:17 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 70958df..4ea6ffb 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.1 +Version: 3.0.3 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue From 49f102c91324561ccaa2efd04a4e774323aa88642da05807f46e1f06c5ad8027 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Thu, 26 Jul 2012 22:25:25 +0000 Subject: [PATCH 4/9] - Update to 3.0.4: - Now depends on Kombu 2.3 - New experimental standalone Celery monitor: Flower See monitoring-flower to read more about it! Contributed by Mher Movsisyan. - Now supports AMQP heartbeats if using the new pyamqp:// transport. - The py-amqp transport requires the amqp library to be installed: $ pip install amqp - Then you need to set the transport URL prefix to pyamqp://. - The default heartbeat value is 10 seconds, but this can be changed using the BROKER_HEARTBEAT setting BROKER_HEARTBEAT = 5.0 - If the broker heartbeat is set to 10 seconds, the heartbeats will be monitored every 5 seconds (double the hertbeat rate). See the Kombu 2.3 changelog for more information. - Now supports RabbitMQ Consumer Cancel Notifications, using the pyamqp:// transport. This is essential when running RabbitMQ in a cluster. See the Kombu 2.3 changelog for more information. - Delivery info is no longer passed directly through. It was discovered that the SQS transport adds objects that can't be pickled to the delivery info mapping, so we had to go back to using the whitelist again. Fixing this bug also means that the SQS transport is now working again. - The semaphore was not properly released when a task was revoked (Issue #877). This could lead to tasks being swallowed and not released until a worker restart. Thanks to Hynek Schlawack for debugging the issue. - Retrying a task now also forwards any linked tasks. This means that if a task is part of a chain (or linked in some other OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=63 --- celery-3.0.3.tar.bz2 | 3 -- celery-3.0.4.tar.bz2 | 3 ++ python-celery.changes | 117 ++++++++++++++++++++++++++++++++++++++++++ python-celery.spec | 4 +- 4 files changed, 122 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.3.tar.bz2 create mode 100644 celery-3.0.4.tar.bz2 diff --git a/celery-3.0.3.tar.bz2 b/celery-3.0.3.tar.bz2 deleted file mode 100644 index fb51522..0000000 --- a/celery-3.0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57eb32392d30bfadca0f10ba8dbedc2483473386446d23a7f5932eb8f9c78d98 -size 874811 diff --git a/celery-3.0.4.tar.bz2 b/celery-3.0.4.tar.bz2 new file mode 100644 index 0000000..ff81e2f --- /dev/null +++ b/celery-3.0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7136211dac3a46ebcbf2bbbae33654837fd99fee852c7ef63de4962f9065528e +size 973604 diff --git a/python-celery.changes b/python-celery.changes index 5fdb570..54b4ace 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,120 @@ +------------------------------------------------------------------- +Thu Jul 26 22:18:34 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.4: + - Now depends on Kombu 2.3 + - New experimental standalone Celery monitor: Flower + See monitoring-flower to read more about it! + + Contributed by Mher Movsisyan. + - Now supports AMQP heartbeats if using the new pyamqp:// transport. + - The py-amqp transport requires the amqp library to be installed: + + $ pip install amqp + + - Then you need to set the transport URL prefix to pyamqp://. + + - The default heartbeat value is 10 seconds, but this can be changed using + the BROKER_HEARTBEAT setting + + BROKER_HEARTBEAT = 5.0 + + - If the broker heartbeat is set to 10 seconds, the heartbeats will be + monitored every 5 seconds (double the hertbeat rate). + + See the Kombu 2.3 changelog for more information. + + - Now supports RabbitMQ Consumer Cancel Notifications, using the pyamqp:// + transport. + This is essential when running RabbitMQ in a cluster. + + See the Kombu 2.3 changelog for more information. + + - Delivery info is no longer passed directly through. + + It was discovered that the SQS transport adds objects that can't + be pickled to the delivery info mapping, so we had to go back + to using the whitelist again. + + Fixing this bug also means that the SQS transport is now working again. + + - The semaphore was not properly released when a task was revoked (Issue #877). + + This could lead to tasks being swallowed and not released until a worker + restart. + + Thanks to Hynek Schlawack for debugging the issue. + + - Retrying a task now also forwards any linked tasks. + + This means that if a task is part of a chain (or linked in some other + way) and that even if the task is retried, then the next task in the chain + will be executed when the retry succeeds. + + - Chords: Now supports setting the interval and other keyword arguments + to the chord unlock task. + - The interval can now be set as part of the chord subtasks kwargs:: + + chord(header)(body, interval=10.0) + + - In addition the chord unlock task now honors the Task.default_retry_delay + option, used when none is specified, which also means that the default + interval can also be changed using annotations: + + CELERY_ANNOTATIONS = { + 'celery.chord_unlock': { + 'default_retry_delay': 10.0, + } + } + + - New @Celery.add_defaults method can add new default configuration + dicts to the applications configuration. + + For example: + + config = {'FOO': 10} + + celery.add_defaults(config) + + is the same as celery.conf.update(config) except that data will not be + copied, and that it will not be pickled when the worker spawns child + processes. + + In addition the method accepts a callable: + + def initialize_config(): + # insert heavy stuff that can't be done at import time here. + + celery.add_defaults(initialize_config) + + which means the same as the above except that it will not happen + until the celery configuration is actually used. + + As an example, Celery can lazily use the configuration of a Flask app:: + + flask_app = Flask() + celery = Celery() + celery.add_defaults(lambda: flask_app.config) + + - Revoked tasks were not marked as revoked in the result backend (Issue #871). + + Fix contributed by Hynek Schlawack. + + - Eventloop now properly handles the case when the epoll poller object + has been closed (Issue #882). + + - Fixed syntax error in funtests/test_leak.py + + Fix contributed by Catalin Iacob. + + - group/chunks: Now accepts empty task list (Issue #873). + - New method names: + + - Celery.default_connection() ➠ @Celery.connection_or_acquire. + - Celery.default_producer() ➠ @Celery.producer_or_acquire. + + The old names still work for backward compatibility. + ------------------------------------------------------------------- Fri Jul 20 21:12:59 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 4ea6ffb..d28e247 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.3 +Version: 3.0.4 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.1.8 +BuildRequires: python-kombu >= 2.3 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL From 0166a5212b9e362877f3ab5c29c572c63379eaa001b40b596840d51861493046 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 1 Aug 2012 19:14:57 +0000 Subject: [PATCH 5/9] - Update to 3.0.5: - Now depends on kombu 2.3.1 + billiard 2.7.3.11 - Fixed a bug with the -B option (``cannot pickle thread.lock objects``) (Issue #894 + Issue #892, + django-celery #154). - The restart_pool control command now requires the CELERYD_POOL_RESTARTS setting to be enabled This change was necessary as the multiprocessing event that the restart command depends on is responsible for creating many semaphores/file descriptors, resulting in problems in some environments. - chain.apply now passes args to the first task (Issue #889). - Documented previously secret options to the Django-Celery monitor in the monitoring userguide (Issue #396). - Old changelog are now organized in separate documents for each series, history. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=64 --- celery-3.0.4.tar.bz2 | 3 --- celery-3.0.5.tar.bz2 | 3 +++ python-celery.changes | 18 ++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.4.tar.bz2 create mode 100644 celery-3.0.5.tar.bz2 diff --git a/celery-3.0.4.tar.bz2 b/celery-3.0.4.tar.bz2 deleted file mode 100644 index ff81e2f..0000000 --- a/celery-3.0.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7136211dac3a46ebcbf2bbbae33654837fd99fee852c7ef63de4962f9065528e -size 973604 diff --git a/celery-3.0.5.tar.bz2 b/celery-3.0.5.tar.bz2 new file mode 100644 index 0000000..5cc7910 --- /dev/null +++ b/celery-3.0.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e24c5151e58aee1b609485e5f64ff0cd17a05a5b2e1d33341fa0cb891646f938 +size 973964 diff --git a/python-celery.changes b/python-celery.changes index 54b4ace..6151dc5 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Aug 1 18:58:47 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.5: + - Now depends on kombu 2.3.1 + billiard 2.7.3.11 + - Fixed a bug with the -B option (``cannot pickle thread.lock objects``) + (Issue #894 + Issue #892, + django-celery #154). + - The restart_pool control command now requires the + CELERYD_POOL_RESTARTS setting to be enabled + This change was necessary as the multiprocessing event that the restart + command depends on is responsible for creating many semaphores/file + descriptors, resulting in problems in some environments. + - chain.apply now passes args to the first task (Issue #889). + - Documented previously secret options to the Django-Celery monitor + in the monitoring userguide (Issue #396). + - Old changelog are now organized in separate documents for each series, + history. + ------------------------------------------------------------------- Thu Jul 26 22:18:34 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index d28e247..007ec84 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.4 +Version: 3.0.5 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.3 +BuildRequires: python-kombu >= 2.3.1 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL From c1a4420793639df40ed9576c7f577296ff006aa284e726d2f9dc466832698fb2 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 17 Aug 2012 22:42:05 +0000 Subject: [PATCH 6/9] - Update to 3.0.6: - Now depends on kombu 2.4.0 - Now depends on billiard 2.7.3.12 - Redis: Celery now tries to restore messages whenever there are no messages in the queue. - Crontab schedules now properly respects CELERY_TIMEZONE setting. It's important to note that crontab schedules uses UTC time by default unless this setting is set. Issue #904 and django-celery #150. - billiard.enable_forking is now only set by the processes pool. - The transport is now properly shown by celery report (Issue #913). - The --app argument now works if the last part is a module name (Issue #921). - Fixed problem with unpickleable exceptions (billiard #12). - Adds task_name attribute to EagerResult which is always None (Issue #907). - Old Task class in celery.task no longer accepts magic kwargs by default (Issue #918). A regression long ago disabled magic kwargs for these, and since no one has complained about it we don't have any incentive to fix it now. - The inspect reserved control command did not work properly. - Should now play better with static analyzation tools by explicitly specifying dynamically created attributes in the celery and celery.task modules. - Terminating a task now results in celery.exceptions.RevokedTaskError instead of a WorkerLostError. - AsyncResult.revoke now accepts terminate and signal arguments. - The task-revoked event now includes new fields: terminated, signum, and expired. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=65 --- celery-3.0.5.tar.bz2 | 3 --- celery-3.0.6.tar.bz2 | 3 +++ python-celery.changes | 49 +++++++++++++++++++++++++++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 54 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.5.tar.bz2 create mode 100644 celery-3.0.6.tar.bz2 diff --git a/celery-3.0.5.tar.bz2 b/celery-3.0.5.tar.bz2 deleted file mode 100644 index 5cc7910..0000000 --- a/celery-3.0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e24c5151e58aee1b609485e5f64ff0cd17a05a5b2e1d33341fa0cb891646f938 -size 973964 diff --git a/celery-3.0.6.tar.bz2 b/celery-3.0.6.tar.bz2 new file mode 100644 index 0000000..95c0ffe --- /dev/null +++ b/celery-3.0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87c7fdc96761d7d0158429536a7c6baba059283ba345e503917ff837970412d8 +size 1126559 diff --git a/python-celery.changes b/python-celery.changes index 6151dc5..8ee69a8 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Fri Aug 17 22:34:07 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.6: + - Now depends on kombu 2.4.0 + - Now depends on billiard 2.7.3.12 + - Redis: Celery now tries to restore messages whenever there are no messages + in the queue. + - Crontab schedules now properly respects CELERY_TIMEZONE setting. + It's important to note that crontab schedules uses UTC time by default + unless this setting is set. + Issue #904 and django-celery #150. + - billiard.enable_forking is now only set by the processes pool. + - The transport is now properly shown by celery report + (Issue #913). + - The --app argument now works if the last part is a module name + (Issue #921). + - Fixed problem with unpickleable exceptions (billiard #12). + - Adds task_name attribute to EagerResult which is always + None (Issue #907). + - Old Task class in celery.task no longer accepts magic kwargs by + default (Issue #918). + A regression long ago disabled magic kwargs for these, and since + no one has complained about it we don't have any incentive to fix it now. + - The inspect reserved control command did not work properly. + - Should now play better with static analyzation tools by explicitly + specifying dynamically created attributes in the celery and + celery.task modules. + - Terminating a task now results in + celery.exceptions.RevokedTaskError instead of a WorkerLostError. + - AsyncResult.revoke now accepts terminate and signal arguments. + - The task-revoked event now includes new fields: terminated, + signum, and expired. + - The argument to celery.exceptions.TaskRevokedError is now one + of the reasons revoked, expired or terminated. + - Old Task class does no longer use classmethods for push_request and + pop_request (Issue #912). + - GroupResult now supports the children attribute (Issue #916). + - AsyncResult.collect now respects the intermediate argument + (Issue #917). + - Fixes example task in documentation (Issue #902). + - Eventlet fixed so that the environment is patched as soon as possible. + - eventlet: Now warns if celery related modules that depends on threads + are imported before eventlet is patched. + - Improved event and camera examples in the monitoring guide. + - Disables celery command setuptools entrypoints if the command can't be + loaded. + - Fixed broken dump_request example in the tasks guide. + ------------------------------------------------------------------- Wed Aug 1 18:58:47 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 007ec84..73f0189 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.5 +Version: 3.0.6 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.3.1 +BuildRequires: python-kombu >= 2.4.0 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL From 510815b44ad4c3b1c339973d02f5d15329ce5786405e4ebbb39d962c70f50c43 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 24 Aug 2012 22:34:37 +0000 Subject: [PATCH 7/9] - Update to 3.0.7: - Fixes several problems with periodic tasks and timezones (Issue #937). - Now depends on kombu 2.4.2 - Redis: Fixes a race condition crash - Fixes an infinite loop that could happen when retrying establishing the broker connection. - Daemons now redirect standard file descriptors to /dev/null Though by default the standard outs are also redirected to the logger instead, but you can disable this by changing the CELERY_REDIRECT_STDOUTS setting. - Fixes possible problems when eventlet/gevent is patched too late. - LoggingProxy no longer defines fileno() (Issue #928). - Results are now ignored for the chord unlock task. Fix contributed by Steeve Morin. - Cassandra backend now works if result expiry is disabled. Fix contributed by Steeve Morin. - The traceback object is now passed to signal handlers instead of the string representation. Fix contributed by Adam DePue. - Celery command: Extensions are now sorted by name. - A regression caused the task-failed event to be sent with the exception object instead of its string representation. - The worker daemon would try to create the pid file before daemonizing to catch errors, but this file was not immediately released (Issue #923). - Fixes Jython compatibility. - billiard.forking_enable was called by all pools not just the processes pool, which would result in a useless warning if the billiard C extensions were not installed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=66 --- celery-3.0.6.tar.bz2 | 3 --- celery-3.0.7.tar.bz2 | 3 +++ python-celery.changes | 32 ++++++++++++++++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 37 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.6.tar.bz2 create mode 100644 celery-3.0.7.tar.bz2 diff --git a/celery-3.0.6.tar.bz2 b/celery-3.0.6.tar.bz2 deleted file mode 100644 index 95c0ffe..0000000 --- a/celery-3.0.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87c7fdc96761d7d0158429536a7c6baba059283ba345e503917ff837970412d8 -size 1126559 diff --git a/celery-3.0.7.tar.bz2 b/celery-3.0.7.tar.bz2 new file mode 100644 index 0000000..99801a1 --- /dev/null +++ b/celery-3.0.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb4b35f728f7e350904c895ce1d7fffa81dbcaf2d16c5d85b375fedddc69e305 +size 1127926 diff --git a/python-celery.changes b/python-celery.changes index 8ee69a8..fd47951 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Fri Aug 24 22:30:22 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.7: + - Fixes several problems with periodic tasks and timezones (Issue #937). + - Now depends on kombu 2.4.2 + - Redis: Fixes a race condition crash + - Fixes an infinite loop that could happen when retrying establishing + the broker connection. + - Daemons now redirect standard file descriptors to /dev/null + Though by default the standard outs are also redirected + to the logger instead, but you can disable this by changing + the CELERY_REDIRECT_STDOUTS setting. + - Fixes possible problems when eventlet/gevent is patched too late. + - LoggingProxy no longer defines fileno() (Issue #928). + - Results are now ignored for the chord unlock task. + Fix contributed by Steeve Morin. + - Cassandra backend now works if result expiry is disabled. + Fix contributed by Steeve Morin. + - The traceback object is now passed to signal handlers instead + of the string representation. + Fix contributed by Adam DePue. + - Celery command: Extensions are now sorted by name. + - A regression caused the task-failed event to be sent + with the exception object instead of its string representation. + - The worker daemon would try to create the pid file before daemonizing + to catch errors, but this file was not immediately released (Issue #923). + - Fixes Jython compatibility. + - billiard.forking_enable was called by all pools not just the + processes pool, which would result in a useless warning if the billiard + C extensions were not installed. + ------------------------------------------------------------------- Fri Aug 17 22:34:07 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 73f0189..5b68c9d 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.6 +Version: 3.0.7 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.4.0 +BuildRequires: python-kombu >= 2.4.2 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL From 5130ed949d25c3f7ed9184881ff49b94932842301a0f6614dc39df2a7cb487a6 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 29 Aug 2012 18:17:50 +0000 Subject: [PATCH 8/9] - Update to 3.0.8: - Now depends on Kombu 2.4.4 - Beat: Fixed another timezone bug with interval and crontab schedules (Issue #943). - Beat: The schedule file is now automatically cleared if the timezone is changed. The schedule is also cleared when you upgrade to 3.0.8 from an earlier version, this to register the initial timezone info. - Events: The worker-heartbeat event now include processed and active count fields. Contributed by Mher Movsisyan. - Fixed error with error email and new task classes (Issue #931). - BaseTask.__call__ is no longer optimized away if it has been monkey patched. - Fixed shutdown issue when using gevent (Issue #911 & Issue #936). Fix contributed by Thomas Meson. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=67 --- celery-3.0.7.tar.bz2 | 3 --- celery-3.0.8.tar.bz2 | 3 +++ python-celery.changes | 20 ++++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 25 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.7.tar.bz2 create mode 100644 celery-3.0.8.tar.bz2 diff --git a/celery-3.0.7.tar.bz2 b/celery-3.0.7.tar.bz2 deleted file mode 100644 index 99801a1..0000000 --- a/celery-3.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb4b35f728f7e350904c895ce1d7fffa81dbcaf2d16c5d85b375fedddc69e305 -size 1127926 diff --git a/celery-3.0.8.tar.bz2 b/celery-3.0.8.tar.bz2 new file mode 100644 index 0000000..104aff5 --- /dev/null +++ b/celery-3.0.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab7653d83e1e9dad9d1d519114a776b720cbd5a39964d24fc87a65142c6f17d5 +size 1128248 diff --git a/python-celery.changes b/python-celery.changes index fd47951..443a2bd 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Aug 29 18:02:17 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.8: + - Now depends on Kombu 2.4.4 + - Beat: Fixed another timezone bug with interval and crontab schedules + (Issue #943). + - Beat: The schedule file is now automatically cleared if the timezone + is changed. + The schedule is also cleared when you upgrade to 3.0.8 from an earlier + version, this to register the initial timezone info. + - Events: The worker-heartbeat event now include processed and active + count fields. + Contributed by Mher Movsisyan. + - Fixed error with error email and new task classes (Issue #931). + - BaseTask.__call__ is no longer optimized away if it has been monkey + patched. + - Fixed shutdown issue when using gevent (Issue #911 & Issue #936). + Fix contributed by Thomas Meson. + ------------------------------------------------------------------- Fri Aug 24 22:30:22 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 5b68c9d..9825bab 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.7 +Version: 3.0.8 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.4.2 +BuildRequires: python-kombu >= 2.4.4 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL From 95c82d7a102e529bfa48ff6084bdb72e5827f6a5abac17c0fced3704843d40a4 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 31 Aug 2012 23:50:10 +0000 Subject: [PATCH 9/9] - Update to 3.0.9: - Important note for users of Django and the database scheduler! Recently a timezone issue has been fixed for periodic tasks, but erroneous timezones could have already been stored in the database, so for the fix to work you need to reset the last_run_at fields. You can do this by executing the following command: $ python manage.py shell >>> from djcelery.models import PeriodicTask >>> PeriodicTask.objects.update(last_run_at=None) You also have to do this if you change the timezone or CELERY_ENABLE_UTC setting. - Note about the CELERY_ENABLE_UTC setting. If you previously disabled this just to force periodic tasks to work with your timezone, then you are now *encouraged to re-enable it*. - Now depends on Kombu 2.4.5 which fixes PyPy + Jython installation. - Fixed bug with timezones when :setting:`CELERY_ENABLE_UTC` is disabled (Issue #952). - Fixed a typo in the celerybeat upgrade mechanism (Issue #951). - Make sure the exc_info argument to logging is resolved (Issue #899). - Fixed problem with Python 3.2 and thread join timeout overflow (Issue #796). - A test case was occasionally broken for Python 2.5. - Unit test suite now passes for PyPy 1.9. - App instances now supports the with statement. This calls the new :meth:`~celery.Celery.close` method at exit, which cleans up after the app like closing pool connections. Note that this is only necessary when dynamically creating apps, e.g. for "temporary" apps. - Support for piping a subtask to a chain. For example: OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=68 --- celery-3.0.8.tar.bz2 | 3 --- celery-3.0.9.tar.bz2 | 3 +++ python-celery.changes | 47 +++++++++++++++++++++++++++++++++++++++++++ python-celery.spec | 4 ++-- 4 files changed, 52 insertions(+), 5 deletions(-) delete mode 100644 celery-3.0.8.tar.bz2 create mode 100644 celery-3.0.9.tar.bz2 diff --git a/celery-3.0.8.tar.bz2 b/celery-3.0.8.tar.bz2 deleted file mode 100644 index 104aff5..0000000 --- a/celery-3.0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab7653d83e1e9dad9d1d519114a776b720cbd5a39964d24fc87a65142c6f17d5 -size 1128248 diff --git a/celery-3.0.9.tar.bz2 b/celery-3.0.9.tar.bz2 new file mode 100644 index 0000000..5bf6d14 --- /dev/null +++ b/celery-3.0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0f27f0ba614c02e5df309f6e84499a10b12e283c996af0896d85c9e1ff70c27 +size 1130412 diff --git a/python-celery.changes b/python-celery.changes index 443a2bd..5831644 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Fri Aug 31 23:44:00 UTC 2012 - alexandre@exatati.com.br + +- Update to 3.0.9: + - Important note for users of Django and the database scheduler! + Recently a timezone issue has been fixed for periodic tasks, + but erroneous timezones could have already been stored in the + database, so for the fix to work you need to reset + the last_run_at fields. + + You can do this by executing the following command: + + $ python manage.py shell + >>> from djcelery.models import PeriodicTask + >>> PeriodicTask.objects.update(last_run_at=None) + + You also have to do this if you change the timezone or + CELERY_ENABLE_UTC setting. + - Note about the CELERY_ENABLE_UTC setting. + If you previously disabled this just to force periodic tasks to work with + your timezone, then you are now *encouraged to re-enable it*. + - Now depends on Kombu 2.4.5 which fixes PyPy + Jython installation. + - Fixed bug with timezones when :setting:`CELERY_ENABLE_UTC` is disabled + (Issue #952). + - Fixed a typo in the celerybeat upgrade mechanism (Issue #951). + - Make sure the exc_info argument to logging is resolved (Issue #899). + - Fixed problem with Python 3.2 and thread join timeout overflow (Issue #796). + - A test case was occasionally broken for Python 2.5. + - Unit test suite now passes for PyPy 1.9. + - App instances now supports the with statement. + This calls the new :meth:`~celery.Celery.close` method at exit, which + cleans up after the app like closing pool connections. + + Note that this is only necessary when dynamically creating apps, + e.g. for "temporary" apps. + + - Support for piping a subtask to a chain. + + For example: + + pipe = sometask.s() | othertask.s() + new_pipe = mytask.s() | pipe + + Contributed by Steve Morin. + - Fixed problem with group results on non-pickle serializers. + Fix contributed by Steeve Morin. + ------------------------------------------------------------------- Wed Aug 29 18:02:17 UTC 2012 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 9825bab..812401f 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.8 +Version: 3.0.9 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.4.4 +BuildRequires: python-kombu >= 2.4.5 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL