- Update to version 2.2.6:

+ Adds messaging.entry_to_queue for compat with previous versions.
  + Changes from version 2.2.5:
  + Pidbox: Now sets queue expire at 10 seconds for reply queues.
  + EventIO: Now ignores ValueError raised by epoll unregister.
  + MongoDB: Fixes Issue #142
- Changes from version 2.2.4:
  + Support for msgpack-python 0.2.0 (Issue #143)
  + kombu.common.maybe_declare no longer caches entities with the
    auto_delete flag set.
  + New experimental filesystem transport.
  + Virtual Transports: Now support anonymous queues and exchanges.
  - retry argument to Producer.publish now works properly,
    and only later bound using .revive(channel).
  * ProducerPool now takes Producer argument.
  * We now patch amqplib's __del__ method to skip trying to close the socket
  * The Connection.ensure methods now accepts a max_retries value
    A value of 0 now means *do not retry*, which is distinct from :const:None
  * SQS Transport: Now has a lowercase sqs alias, so that it can be
    This can be disabled by setting the supports_fanout transport option:
  * SQS: Can now set the Amazon AWS region, by using the region
  * amqplib: Now uses localhost as default hostname instead of raising an
  * amqplib transport: Now supports login_method for SSL auth.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=46
This commit is contained in:
Sascha Peilicke 2012-07-11 12:58:41 +00:00 committed by Git OBS Bridge
parent 15db74aead
commit 523b46757d
4 changed files with 30 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61fd29659cd5b24d236021695d9b4944998872b569c9a34e6eaab21521a01af0
size 257391

3
kombu-2.2.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff20487a3f322e9acc435d8435879fb65e8f087d597e28395987b5db660935a1
size 285888

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 11 12:52:40 UTC 2012 - saschpe@suse.de
- Re-enable testsuite and add it's build-time dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 10 22:40:59 UTC 2012 - alexandre@exatati.com.br Tue Jul 10 22:40:59 UTC 2012 - alexandre@exatati.com.br
@ -69,7 +74,7 @@ Thu Jun 21 14:40:14 UTC 2012 - alexandre@exatati.com.br
- SQS: Default visibility timeout is now 30 minutes. - SQS: Default visibility timeout is now 30 minutes.
Since we have ack emulation the visibility timeout is Since we have ack emulation the visibility timeout is
only in effect if the consumer is abrubtly terminated. only in effect if the consumer is abrubtly terminated.
- retry argument to ``Producer.publish`` now works properly, - retry argument to Producer.publish now works properly,
when the declare argument is specified. when the declare argument is specified.
- Json serializer: didn't handle buffer objects (Issue #135). - Json serializer: didn't handle buffer objects (Issue #135).
Fix contributed by Jens Hoffrichter. Fix contributed by Jens Hoffrichter.
@ -103,8 +108,8 @@ Mon May 7 20:49:30 UTC 2012 - alexandre@exatati.com.br
- Update to 2.1.8: - Update to 2.1.8:
* Bound Exchange/Queue's are now pickleable. * Bound Exchange/Queue's are now pickleable.
* Consumer/Producer can now be instantiated without a channel, * Consumer/Producer can now be instantiated without a channel,
and only later bound using ``.revive(channel)``. and only later bound using .revive(channel).
* ProducerPool now takes ``Producer`` argument. * ProducerPool now takes Producer argument.
* kombu.utils.fxrange now counts forever if the * kombu.utils.fxrange now counts forever if the
stop argument is set to None. stop argument is set to None.
(fxrange is like xrange but for decimals). (fxrange is like xrange but for decimals).
@ -206,7 +211,7 @@ Sat Mar 10 17:00:40 UTC 2012 - saschpe@gmx.de
- Update to version 2.1.1: - Update to version 2.1.1:
* Connection URLs now supports encoded characters. * Connection URLs now supports encoded characters.
* Fixed a case where connection pool could not recover from connection loss. * Fixed a case where connection pool could not recover from connection loss.
* We now patch amqplib's ``__del__`` method to skip trying to close the socket * We now patch amqplib's __del__ method to skip trying to close the socket
if it is not connected, as this resulted in an annoying warning. if it is not connected, as this resulted in an annoying warning.
* Compression can now be used with binary message payloads. * Compression can now be used with binary message payloads.
- Don't install INSTALL - Don't install INSTALL
@ -273,11 +278,11 @@ Mon Nov 28 02:19:24 UTC 2011 - alexandre@exatati.com.br
In addition, an UndeliverableWarning is now emitted when In addition, an UndeliverableWarning is now emitted when
the dead-letter queue is enabled and a message ends up there. the dead-letter queue is enabled and a message ends up there.
* MongoDB transport now supports Replicasets (Issue #81). * MongoDB transport now supports Replicasets (Issue #81).
* The Connection.ensure`` methods now accepts a max_retries value * The Connection.ensure methods now accepts a max_retries value
of 0. of 0.
A value of 0 now means *do not retry*, which is distinct from :const:`None` A value of 0 now means *do not retry*, which is distinct from :const:None
which means *retry indefinitely*. which means *retry indefinitely*.
* SQS Transport: Now has a lowercase `sqs alias, so that it can be * SQS Transport: Now has a lowercase sqs alias, so that it can be
used with broker URLs (Issue #82). used with broker URLs (Issue #82).
* SQS Transport: Fixes KeyError on message acknowledgements (Issue #73). * SQS Transport: Fixes KeyError on message acknowledgements (Issue #73).
The SQS transport now uses UUID's for delivery tags, rather than The SQS transport now uses UUID's for delivery tags, rather than
@ -455,14 +460,14 @@ Mon Jun 13 22:42:00 UTC 2011 - alexandre@exatati.com.br
* SQS: Now supports fanout messaging by using SimpleDB to store routing * SQS: Now supports fanout messaging by using SimpleDB to store routing
tables. tables.
This can be disabled by setting the `supports_fanout` transport option: This can be disabled by setting the supports_fanout transport option:
>>> BrokerConnection(transport="SQS", >>> BrokerConnection(transport="SQS",
... transport_options={"supports_fanout": False}) ... transport_options={"supports_fanout": False})
* SQS: Now properly deletes a message when a message is acked. * SQS: Now properly deletes a message when a message is acked.
* SQS: Can now set the Amazon AWS region, by using the ``region`` * SQS: Can now set the Amazon AWS region, by using the region
transport option. transport option.
* amqplib: Now uses `localhost` as default hostname instead of raising an * amqplib: Now uses localhost as default hostname instead of raising an
error. error.
------------------------------------------------------------------- -------------------------------------------------------------------
@ -474,7 +479,7 @@ Tue Jun 7 22:57:44 UTC 2011 - alexandre@exatati.com.br
* Redis transport: Now requires redis-py version 2.4.4 or later. * Redis transport: Now requires redis-py version 2.4.4 or later.
* New Amazon SQS transport added. * New Amazon SQS transport added.
* librabbitmq transport: Fixes default credentials support. * librabbitmq transport: Fixes default credentials support.
* amqplib transport: Now supports `login_method` for SSL auth. * amqplib transport: Now supports login_method for SSL auth.
Default login_method is AMQPLAIN. Default login_method is AMQPLAIN.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -15,9 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-kombu Name: python-kombu
Version: 2.2.6 Version: 2.2.6
Release: 0 Release: 0
@ -25,7 +22,7 @@ License: BSD-2-Clause
Summary: AMQP Messaging Framework for Python Summary: AMQP Messaging Framework for Python
Url: http://github.com/ask/kombu/ Url: http://github.com/ask/kombu/
Group: Development/Languages/Python Group: Development/Languages/Python
Source: kombu-%{version}.tar.bz2 Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
BuildRequires: python-amqplib BuildRequires: python-amqplib
BuildRequires: python-anyjson BuildRequires: python-anyjson
BuildRequires: python-devel BuildRequires: python-devel
@ -33,19 +30,21 @@ BuildRequires: python-distribute
BuildRequires: python-mock BuildRequires: python-mock
BuildRequires: python-msgpack-python BuildRequires: python-msgpack-python
BuildRequires: python-nose-cover3 BuildRequires: python-nose-cover3
BuildRequires: python-simplejson
BuildRequires: python-unittest2 BuildRequires: python-unittest2
BuildRequires: python-PyYAML
Requires: python-amqplib Requires: python-amqplib
Requires: python-anyjson Requires: python-anyjson
Suggests: couchdb Suggests: couchdb
Suggests: mongodb Suggests: mongodb
Suggests: rabbitmq-server Suggests: rabbitmq-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%py_requires %py_requires
%if 0%{?suse_version} > 1110 %else
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif
%description %description
An AMQP messaging framework for Python. An AMQP messaging framework for Python.
@ -68,8 +67,11 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#check %check
#python setup.py test # Testsuite requires mkgpack-python < 0.2.0 because it dropped Python-2.5 support.
# This makes no sense for us, thus:
sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
python setup.py test
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)