Accepting request 127657 from devel:languages:python

- Re-enable testsuite and add it's build-time dependencies

- Update to 2.2.6:
  - Adds ``messaging.entry_to_queue`` for compat with previous versions.

- Update to 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
    Fix by Flavio Percoco Premoli

- Update to 2.2.4:
  - Support for msgpack-python 0.2.0 (Issue #143)
    The latest msgpack version no longer supports Python 2.5, so if you're
    still using that you need to depend on an earlier msgpack-python version.
    Fix contributed by Sebastian Insua
  - kombu.common.maybe_declare no longer caches entities with the
    auto_delete flag set.
  - New experimental filesystem transport.
    Contributed by Bobby Beever.
  - Virtual Transports: Now support anonymous queues and exchanges.

- Update to 2.2.3:
  - BrokerConnection now renamed to Connection.
    The name Connection has been an alias for a very long time,
    but now the rename is official in the documentation as well.
    The Connection alias has been available since version 1.1.3,
    and BrokerConnection will still work and is not deprecated.
  - Connection.clone() now works for the sqlalchemy transport.
  - kombu.common.eventloop, kombu.utils.uuid,

OBS-URL: https://build.opensuse.org/request/show/127657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=15
This commit is contained in:
Ismail Dönmez 2012-07-12 08:51:42 +00:00 committed by Git OBS Bridge
commit f75df37940
4 changed files with 128 additions and 21 deletions

View File

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

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,11 +1,115 @@
-------------------------------------------------------------------
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
- Update to 2.2.6:
- Adds ``messaging.entry_to_queue`` for compat with previous versions.
-------------------------------------------------------------------
Tue Jul 10 16:34:37 UTC 2012 - alexandre@exatati.com.br
- Update to 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
Fix by Flavio Percoco Premoli
-------------------------------------------------------------------
Thu Jul 5 16:30:11 UTC 2012 - alexandre@exatati.com.br
- Update to 2.2.4:
- Support for msgpack-python 0.2.0 (Issue #143)
The latest msgpack version no longer supports Python 2.5, so if you're
still using that you need to depend on an earlier msgpack-python version.
Fix contributed by Sebastian Insua
- kombu.common.maybe_declare no longer caches entities with the
auto_delete flag set.
- New experimental filesystem transport.
Contributed by Bobby Beever.
- Virtual Transports: Now support anonymous queues and exchanges.
-------------------------------------------------------------------
Mon Jun 25 02:37:27 UTC 2012 - alexandre@exatati.com.br
- Update to 2.2.3:
- BrokerConnection now renamed to Connection.
The name Connection has been an alias for a very long time,
but now the rename is official in the documentation as well.
The Connection alias has been available since version 1.1.3,
and BrokerConnection will still work and is not deprecated.
- Connection.clone() now works for the sqlalchemy transport.
- kombu.common.eventloop, kombu.utils.uuid,
and kombu.utils.url.parse_url can now be
imported from the kombu module directly.
- Pidbox transport callback after_reply_message_received now happens
in a finally block.
- Trying to use the librabbitmq:// transport will now show the right
name in the ImportError if librabbitmq is not installed.
The librabbitmq falls back to the older pylibrabbitmq name for
compatibility reasons and would therefore show No module named
pylibrabbitmq instead of librabbitmq.
-------------------------------------------------------------------
Fri Jun 22 17:03:30 UTC 2012 - alexandre@exatati.com.br
- Update to 2.2.2:
- Now depends on anyjson 0.3.3
- Json serializer: Now passes buffer objects directly,
since this is supported in the latest anyjson version.
- Fixes blocking epoll call if timeout was set to 0.
Fix contributed by John Watson.
- setup.py now takes requirements from the requirements/ directory.
- The distribution directory contrib/ is now renamed to extra/
-------------------------------------------------------------------
Thu Jun 21 14:40:14 UTC 2012 - alexandre@exatati.com.br
- Update to 2.2.1:
- SQS: Default visibility timeout is now 30 minutes.
Since we have ack emulation the visibility timeout is
only in effect if the consumer is abrubtly terminated.
- retry argument to Producer.publish now works properly,
when the declare argument is specified.
- Json serializer: didn't handle buffer objects (Issue #135).
Fix contributed by Jens Hoffrichter.
- Virtual: Now supports passive argument to exchange_declare.
- Exchange & Queue can now be bound to connections (which will use
the default channel):
>>> exchange = Exchange("name")
>>> bound_exchange = exchange(connection)
>>> bound_exchange.declare()
- SimpleQueue & SimpleBuffer can now be bound to connections (which
will use the default channel).
- Connection.manager.get_bindings now works for librabbitmq and pika.
- Adds new transport info attributes:
- Transport.driver_type
Type of underlying driver, e.g. "amqp", "redis", "sql".
- Transport.driver_name
Name of library used e.g. "amqplib", "redis", "pymongo".
- Transport.driver_version()
Version of underlying library.
-------------------------------------------------------------------
Fri Jun 8 12:58:07 UTC 2012 - alexandre@exatati.com.br
- Update to 2.2.0:
- Please read descriptive changelog here:
http://kombu.readthedocs.org/en/latest/changelog.html#version-2-2-0
-------------------------------------------------------------------
Mon May 7 20:49:30 UTC 2012 - alexandre@exatati.com.br
- Update to 2.1.8:
* Bound Exchange/Queue's are now pickleable.
* Consumer/Producer can now be instantiated without a channel,
and only later bound using ``.revive(channel)``.
* ProducerPool now takes ``Producer`` argument.
and only later bound using .revive(channel).
* ProducerPool now takes Producer argument.
* kombu.utils.fxrange now counts forever if the
stop argument is set to None.
(fxrange is like xrange but for decimals).
@ -107,7 +211,7 @@ Sat Mar 10 17:00:40 UTC 2012 - saschpe@gmx.de
- Update to version 2.1.1:
* Connection URLs now supports encoded characters.
* 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.
* Compression can now be used with binary message payloads.
- Don't install INSTALL
@ -174,11 +278,11 @@ Mon Nov 28 02:19:24 UTC 2011 - alexandre@exatati.com.br
In addition, an UndeliverableWarning is now emitted when
the dead-letter queue is enabled and a message ends up there.
* 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.
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*.
* 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).
* SQS Transport: Fixes KeyError on message acknowledgements (Issue #73).
The SQS transport now uses UUID's for delivery tags, rather than
@ -356,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
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",
... transport_options={"supports_fanout": False})
* 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.
* amqplib: Now uses `localhost` as default hostname instead of raising an
* amqplib: Now uses localhost as default hostname instead of raising an
error.
-------------------------------------------------------------------
@ -375,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.
* New Amazon SQS transport added.
* 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.
-------------------------------------------------------------------

View File

@ -15,36 +15,36 @@
# 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
Version: 2.1.8
Version: 2.2.6
Release: 0
License: BSD-2-Clause
Summary: AMQP Messaging Framework for Python
Url: http://github.com/ask/kombu/
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-anyjson
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-mock
BuildRequires: python-msgpack-python
BuildRequires: python-nose-cover3
BuildRequires: python-simplejson
BuildRequires: python-unittest2
BuildRequires: python-PyYAML
Requires: python-amqplib
Requires: python-anyjson
Suggests: couchdb
Suggests: mongodb
Suggests: rabbitmq-server
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
%if 0%{?suse_version} > 1110
%else
BuildArch: noarch
%endif
%endif
%description
An AMQP messaging framework for Python.
@ -68,6 +68,9 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
# 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