Accepting request 236013 from devel:languages:python

- update to 3.0.16:
  - ``kombu[librabbitmq]`` now depends on librabbitmq 1.5.1.
  - Tests: Some unit tests accidentally required the `redis-py` library.
  - librabbitmq: Would crash when using an older version of :mod:`librabbitmq`,
    now emits warning instead.
- remove kombu-fix-redis-tests.patch: Fixed differently upstream

- add kombu-fix-redis-tests.patch
  * Add skip_if_no_module decorator

- update to 3.0.15:
  * Now depends on :mod:`amqp` 1.4.5.
  * RabbitMQ 3.3 changes QoS semantics (Issue #339).
  * Users of :mod:`librabbitmq` is encouraged to upgrade to librabbitmq 1.5.0.
  * Pools: Now takes transport options into account when comparing connections
    (Issue #333).
  * MongoDB: Fixes Python 3 compatibility.
  * Async: select: Ignore socket errors when attempting to unregister handles
    from the loop.
  * Pidbox: Can now be configured to use a serializer other than json,
    but specifying a serializer argument to :class:`~kombu.pidbox.Mailbox`.
  * Message decompression now works with Python 3.
- update to 3.0.14:
  * **MongoDB**: Now endures a connection failover (Issue #123).
  * **MongoDB**: Fixed ``KeyError`` when a replica set member is removed.
  * **MongoDB**: Fixed MongoDB broadcast cursor re-initialization bug.
  * **Async**: Fixed bug in lax semaphore implementation where in
    some usage patterns the limit was not honored correctly.
  * **Redis**: Fixed problem with fanout when using Python 3 (Issue #324).
  * **Redis**: Fixed ``AttributeError`` from attempting to close a non-existing (forwarded request 235453 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/236013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2014-06-04 16:39:21 +00:00 committed by Git OBS Bridge
commit 819a2589dd
4 changed files with 73 additions and 12 deletions

View File

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

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

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

View File

@ -1,3 +1,70 @@
-------------------------------------------------------------------
Mon May 26 19:10:14 UTC 2014 - dmueller@suse.com
- update to 3.0.16:
- ``kombu[librabbitmq]`` now depends on librabbitmq 1.5.1.
- Tests: Some unit tests accidentally required the `redis-py` library.
- librabbitmq: Would crash when using an older version of :mod:`librabbitmq`,
now emits warning instead.
- remove kombu-fix-redis-tests.patch: Fixed differently upstream
-------------------------------------------------------------------
Mon May 5 14:01:57 UTC 2014 - mjura@suse.com
- add kombu-fix-redis-tests.patch
* Add skip_if_no_module decorator
-------------------------------------------------------------------
Fri May 2 07:49:46 UTC 2014 - mjura@suse.com
- update to 3.0.15:
* Now depends on :mod:`amqp` 1.4.5.
* RabbitMQ 3.3 changes QoS semantics (Issue #339).
* Users of :mod:`librabbitmq` is encouraged to upgrade to librabbitmq 1.5.0.
* Pools: Now takes transport options into account when comparing connections
(Issue #333).
* MongoDB: Fixes Python 3 compatibility.
* Async: select: Ignore socket errors when attempting to unregister handles
from the loop.
* Pidbox: Can now be configured to use a serializer other than json,
but specifying a serializer argument to :class:`~kombu.pidbox.Mailbox`.
* Message decompression now works with Python 3.
- update to 3.0.14:
* **MongoDB**: Now endures a connection failover (Issue #123).
* **MongoDB**: Fixed ``KeyError`` when a replica set member is removed.
* **MongoDB**: Fixed MongoDB broadcast cursor re-initialization bug.
* **Async**: Fixed bug in lax semaphore implementation where in
some usage patterns the limit was not honored correctly.
* **Redis**: Fixed problem with fanout when using Python 3 (Issue #324).
* **Redis**: Fixed ``AttributeError`` from attempting to close a non-existing
connection (Issue #320).
- update to 3.0.13:
* Redis: Fixed serious race condition that could lead to data loss.
* Now depends on :mod:`amqp` 1.4.4.
* Pidbox: Now makes sure message encoding errors are handled by default,
so that a custom error handler does not need to be specified.
* Redis: The fanout exchange can now use AMQP patterns to route and filter
messages.
* Redis: Fixed ``cycle`` no such attribute error.
- update to 3.0.12:
* Now depends on :mod:`amqp` 1.4.3.
* Fixes Python 3.4 logging incompatibility (Issue #311).
* Redis: Now properly handles unknown pub/sub messages.
* amqplib: Fixed bug where more bytes were requested from the socket
than necessary.
- update to 3.0.11:
* Now depends on :mod:`amqp` 1.4.2.
* Now always trusts messages of type `application/data` and `application/text`
or which have an unspecified content type (Issue #306).
* Compression errors are now handled as decode errors and will trigger
the ``Consumer.on_decode_error`` callback if specified.
* New ``kombu.Connection.get_heartbeat_interval()`` method that can be
used to access the negotiated heartbeat value.
* `kombu.common.oid_for` no longer uses the MAC address of the host, but
instead uses a process*wide UUID4 as a node id.
* Hub.add: Now normalizes registered fileno.
* SQS: Fixed bug where the prefetch count limit was not respected.
-------------------------------------------------------------------
Wed Feb 19 15:18:32 UTC 2014 - speilicke@suse.com

View File

@ -17,7 +17,7 @@
Name: python-kombu
Version: 3.0.10
Version: 3.0.16
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
@ -28,8 +28,7 @@ BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
BuildRequires: python-PyYAML
BuildRequires: python-amqp >= 1.0.13
BuildRequires: python-amqplib
BuildRequires: python-amqp >= 1.4.5
BuildRequires: python-anyjson
BuildRequires: python-boto
BuildRequires: python-mock
@ -43,7 +42,7 @@ BuildRequires: python-ordereddict
Requires: python-importlib
Requires: python-ordereddict
%endif
Requires: python-amqp >= 1.4.0
Requires: python-amqp >= 1.4.5
Requires: python-anyjson >= 0.3.3
Suggests: couchdb
Suggests: mongodb
@ -71,11 +70,6 @@ provide proven and tested solutions to common messaging problems.
%setup -q -n kombu-%{version}
# For rpmlint warning: remove shebang from python library:
sed -i '/^#!/d' ./kombu/tests/test_serialization.py
# NOTE(saschpe): We have a newer python-amqp, but this shouldn't be an issue:
sed -i -e "s|amqp>=1.3.3,<2.0|amqp>=1.3.3|" requirements/default.txt kombu.egg-info/requires.txt
# NOTE(saschpe): 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
%build
python setup.py build