Accepting request 134271 from devel:languages:python

Needed for python-celery package.

OBS-URL: https://build.opensuse.org/request/show/134271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=16
This commit is contained in:
Ismail Dönmez 2012-09-16 23:29:26 +00:00 committed by Git OBS Bridge
commit 7b058ccac2
4 changed files with 146 additions and 6 deletions

View File

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

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

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

View File

@ -1,3 +1,143 @@
-------------------------------------------------------------------
Wed Sep 12 17:10:37 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.6:
- Adds additional compatibility dependencies:
- Python <= 2.6:
- importlib
- ordereddict
- Python <= 2.5
- simplejson
-------------------------------------------------------------------
Thu Aug 30 17:02:05 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.5:
- Last version broke installtion on PyPy and Jython due to test
requirements clean-up.
-------------------------------------------------------------------
Wed Aug 29 18:05:01 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.4:
- amqplib: Fixed a bug with asynchronously reading large messages.
- pyamqp: Now requires amqp 0.9.3
- Cleaned up test requirements.
-------------------------------------------------------------------
Mon Aug 27 14:24:17 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.3:
- Fixed problem with amqp transport alias (Issue #154).
-------------------------------------------------------------------
Fri Aug 24 19:46:11 UTC 2012 - alexandre@exatati.com.br
- Removed tests as qe do not have python-amqp (only python-amqplib).
- Update to 2.4.2:
- Having an empty transport name broke in 2.4.1.
- Aditional changes from 2.4.1:
- Redis: Fixed race condition that could cause the consumer to
crash (Issue #151)
Often leading to the error message "could not convert string to
float"
- Connection retry could cause an inifite loop (Issue #145).
- The amqp alias is now resolved at runtime, so that eventlet
detection works even if patching was done later.
-------------------------------------------------------------------
Fri Aug 17 20:24:04 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.0:
- New experimental ZeroMQ transport.
Contributed by John Watson.
- Redis: Ack timed-out messages were not restored when using the eventloop.
- Now uses pickle protocol 2 by default to be cross-compatible with Python 3.
The protocol can also now be changed using the PICKLE_PROTOCOL
environment variable.
- Adds Transport.supports_ev attribute.
- Pika: Queue purge was not working properly.
Fix contributed by Steeve Morin.
- Pika backend was no longer working since Kombu 2.3
Fix contributed by Steeve Morin.
-------------------------------------------------------------------
Wed Aug 1 18:57:38 UTC 2012 - alexandre@exatati.com.br
- Update to 2.3.2:
- Fixes problem with deserialization in Python 3.
- Aditional changes from 2.3.1:
- librabbitmq: Can now handle messages that does not have a
content_encoding/content_type set (Issue #149).
Fix contributed by C Anthony Risinger.
- Beanstalk: Now uses localhost by default if the URL does not
contain a host.
-------------------------------------------------------------------
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

View File

@ -16,7 +16,7 @@
#
Name: python-kombu
Version: 2.2.6
Version: 2.4.6
Release: 0
License: BSD-2-Clause
Summary: AMQP Messaging Framework for Python
@ -70,8 +70,8 @@ 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
#sed -i "s/msgpack-python.*/msgpack-python/" requirements/test.txt
#python setup.py test
%files
%defattr(-,root,root,-)