From 865d1c7c9969ff5a4afeed0d7374bf4dd7774d187ac9048b3762d86199739c31 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Thu, 26 Jul 2012 00:07:12 +0000 Subject: [PATCH] - Update to 2.3.0: - New pyamqp:// transport! The new py-amqp library is a fork of amqplib started with the following goals: - Uses AMQP 0.9.1 instead of 0.8 - Should support all RabbitMQ extensions - API compatible with librabbitmq so that it can be used as a pure-python replacement in environments where rabbitmq-c cannot be compiled. py-amqp: http://amqp.readthedocs.org/ If you start using use py-amqp instead of amqplib you can enjoy many advantages including: - Heartbeat support (Issue #79 + Issue #131) - Consumer Cancel Notifications (Issue #131) - Publisher Confirms amqplib has not been updated in a long while, so maintaining our own fork ensures that we can quickly roll out new features and fixes without resorting to monkey patching. To use the py-amqp transport you must install the amqp library: $ pip install amqp and change the connection URL to use the correct transport: >>> conn = Connection('pyamqp://guest:guest@localhost//') The pyamqp:// transport will be the default fallback transport in Kombu version 3.0, when librabbitmq is not installed, and librabbitmq will also be updated to support the same features. - Connection now supports heartbeat argument. If enabled you must make sure to manually maintain heartbeats by calling the Connection.heartbeat_check at twice the rate of the specified heartbeat interval. E.g. if you have Connection(heartbeat=10), OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=47 --- kombu-2.2.6.tar.gz | 3 --- kombu-2.3.0.tar.gz | 3 +++ python-kombu.changes | 63 ++++++++++++++++++++++++++++++++++++++++++++ python-kombu.spec | 2 +- 4 files changed, 67 insertions(+), 4 deletions(-) delete mode 100644 kombu-2.2.6.tar.gz create mode 100644 kombu-2.3.0.tar.gz diff --git a/kombu-2.2.6.tar.gz b/kombu-2.2.6.tar.gz deleted file mode 100644 index 97ca9bb..0000000 --- a/kombu-2.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff20487a3f322e9acc435d8435879fb65e8f087d597e28395987b5db660935a1 -size 285888 diff --git a/kombu-2.3.0.tar.gz b/kombu-2.3.0.tar.gz new file mode 100644 index 0000000..1f47584 --- /dev/null +++ b/kombu-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c138c165f9b2d289ca55a47ccf10e35b9f23cea89a621a104b9dfec08604b20d +size 288148 diff --git a/python-kombu.changes b/python-kombu.changes index f2ae885..81d0452 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Thu Jul 26 00:01:34 UTC 2012 - alexandre@exatati.com.br + +- Update to 2.3.0: + - New pyamqp:// transport! + The new py-amqp library is a fork of amqplib started with the + following goals: + - Uses AMQP 0.9.1 instead of 0.8 + - Should support all RabbitMQ extensions + - API compatible with librabbitmq so that it can be used + as a pure-python replacement in environments where rabbitmq-c cannot + be compiled. + + py-amqp: http://amqp.readthedocs.org/ + + If you start using use py-amqp instead of amqplib you can enjoy many + advantages including: + + - Heartbeat support (Issue #79 + Issue #131) + - Consumer Cancel Notifications (Issue #131) + - Publisher Confirms + + amqplib has not been updated in a long while, so maintaining our own fork + ensures that we can quickly roll out new features and fixes without + resorting to monkey patching. + + To use the py-amqp transport you must install the amqp library: + + $ pip install amqp + + and change the connection URL to use the correct transport: + + >>> conn = Connection('pyamqp://guest:guest@localhost//') + + + The pyamqp:// transport will be the default fallback transport + in Kombu version 3.0, when librabbitmq is not installed, + and librabbitmq will also be updated to support the same features. + + - Connection now supports heartbeat argument. + If enabled you must make sure to manually maintain heartbeats + by calling the Connection.heartbeat_check at twice the rate + of the specified heartbeat interval. + + E.g. if you have Connection(heartbeat=10), + then you must call Connection.heartbeat_check() every 5 seconds. + + if the server has not sent heartbeats at a suitable rate then + the heartbeat check method must raise an error that is listed + in Connection.connection_errors. + + The attribute Connection.supports_heartbeats has been added + for the ability to inspect if a transport supports heartbeats + or not. + + Calling heartbeat_check on a transport that does + not support heartbeats results in a noop operation. + + - SQS: Fixed bug with invalid characters in queue names. + Fix contributed by Zach Smith. + - utils.reprcall: Fixed typo where kwargs argument was an empty tuple by + default, and not an empty dict. + ------------------------------------------------------------------- Wed Jul 11 12:52:40 UTC 2012 - saschpe@suse.de diff --git a/python-kombu.spec b/python-kombu.spec index 492db65..6dedad9 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -16,7 +16,7 @@ # Name: python-kombu -Version: 2.2.6 +Version: 2.3.0 Release: 0 License: BSD-2-Clause Summary: AMQP Messaging Framework for Python