Python3 moved to devel:languages:python3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=86
This commit is contained in:
Sascha Peilicke 2013-06-17 12:51:46 +00:00 committed by Git OBS Bridge
parent 310c4eaf32
commit cf53ea7534
2 changed files with 0 additions and 229 deletions

View File

@ -1,140 +0,0 @@
-------------------------------------------------------------------
Tue Apr 30 09:55:14 UTC 2013 - speilicke@suse.com
- Expanded test coverage
- Don't require python-msgpack-python for testing until issues are fixed.
It's an optional feature anyway
- Drop link to python3-kombu, it's not really support Py3K ATM
-------------------------------------------------------------------
Fri Apr 12 17:47:22 UTC 2013 - alexandre@exatati.com.br
- Update to 2.5.10:
Kombu 3 consumers will no longer accept pickle/yaml or msgpack
by default, and you will have to explicitly enable untrusted deserializers
either globally using kombu.enable_insecure_serializers, or
using the accept argument to kombu.Consumer.
- New utility function to disable/enable untrusted serializers.
- kombu.disable_insecure_serializers
- kombu.enable_insecure_serializers
- Consumer: `accept` can now be used to specify a whitelist
of content types to accept.
If the accept whitelist is set and a message is received
with a content type that is not in the whitelist then a
:exc:`~kombu.exceptions.ContentDisallowed` exception
is raised. Note that this error can be handled by the already
existing `on_decode_error` callback
Examples:
Consumer(accept=['application/json'])
Consumer(accept=['pickle', 'json'])
- Now depends on amqp 1.0.11
- pidbox: Mailbox now supports the `accept` argument.
- Redis: More friendly error for when keys are missing.
- Connection URLs: The parser did not work well when there were
multiple '+' tokens.
- Remove patch that is no longer needed
-------------------------------------------------------------------
Fri Apr 12 12:06:17 UTC 2013 - toddrme2178@gmail.com
- Change suggests to recommends since suggests are not well supported
- Disable simplejson on openSUSE <= 12.2 since it is not supported
-------------------------------------------------------------------
Thu Apr 11 16:51:37 UTC 2013 - alexandre@exatati.com.br
- Update to 2.5.9:
- Pidbox: Now warns if there are multiple nodes consuming from
the same pidbox.
- Adds Queue.on_declared <kombu.Queue.on_declared>
A callback to be called when the queue is declared,
with signature (name, messages, consumers).
- Now uses fuzzy matching to suggest alternatives to typos in transport
names.
- SQS: Adds new transport option queue_prefix.
Contributed by j0hnsmith.
- pyamqp: No longer overrides verify_connection.
- SQS: Now specifies the driver_type and driver_name
attributes.
Fix contributed by Mher Movsisyan.
- Fixed bug with kombu.utils.retry_over_time when no errback
specified.
-------------------------------------------------------------------
Thu Mar 21 19:59:14 UTC 2013 - alexandre@exatati.com.br
- Update to 2.5.8:
- Now depends on amqp 1.0.10 which fixes a Python 3 compatibility
error.
- Redis: Fixed a possible race condition (Issue #171).
- Redis: Ack emulation/visibility_timeout can now be disabled
using a transport option.
Ack emulation adds quite a lot of overhead to ensure data is safe
even in the event of an unclean shutdown. If data loss do not worry
you there is now an `ack_emulation` transport option you can use
to disable it:
Connection('redis://', transport_options={'ack_emulation': False})
- SQS: Fixed boto v2.7 compatibility (Issue #207).
- Exchange: Should not try to re-declare default exchange ("")
(Issue #209).
- SQS: Long polling is now disabled by default as it was not
implemented correctly, resulting in long delays between receiving
messages (Issue #202).
- Fixed Python 2.6 incompatibility depending on exc.errno
being available.
Fix contributed by Ephemera.
-------------------------------------------------------------------
Fri Mar 8 13:10:29 UTC 2013 - alexandre@exatati.com.br
- Update to 2.5.7:
- Now depends on amqp 1.0.9
- Redis: A regression in 2.5.6 caused the redis transport to
ignore options set in transport_options.
- Redis: New socket_timeout transport option.
- Redis: InconsistencyError is now regarded as a recoverable error.
- Resource pools: Will no longer attempt to release resource
that was never acquired.
- MongoDB: Now supports the ssl option.
Contributed by Sebastian Pawlus.
-------------------------------------------------------------------
Thu Feb 7 19:34:46 UTC 2013 - alexandre@exatati.com.br
- Update to 2.5.5:
SQS: Now supports long polling (Issue #176).
The polling interval default has been changed to 0 and a new
transport option (wait_time_seconds) has been added.
This parameter specifies how long to wait for a message from
SQS, and defaults to 20 seconds, which is the maximum
value currently allowed by Amazon SQS.
Contributed by James Saryerwinnie.
- SQS: Now removes unpickleable fields before restoring messages.
- Consumer.__exit__ now ignores exceptions occurring while
cancelling the consumer.
- Virtual: Routing keys can now consist of characters also used
in regular expressions (e.g. parens) (Issue #194).
- Virtual: Fixed compression header when restoring messages.
Fix contributed by Alex Koshelev.
- Virtual: ack/reject/requeue now works while using basic_get.
- Virtual: Message.reject is now supported by virtual transports
(requeue depends on individual transport support).
- Fixed typo in hack used for static analyzers.
Fix contributed by Basil Mironenko.
-------------------------------------------------------------------
Thu Jan 17 01:43:41 UTC 2013 - alexandre@exatati.com.br
- Add LICENSE file to %doc.
-------------------------------------------------------------------
Mon Jan 14 09:48:21 UTC 2013 - saschpe@suse.de
- Drop build requires on python3-2to3, it's in python3-devel now
- Don't require "python(abi)", RPM does that automatically
-------------------------------------------------------------------
Fri Jan 11 16:05:41 UTC 2013 - p.drouand@gmail.com
- Initial python3 support
- Fix rpmlint shebang warning for test_serialization.py

View File

@ -1,89 +0,0 @@
#
# spec file for package python3-kombu
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-kombu
Version: 2.5.10
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://github.com/ask/kombu/
Source: http://pypi.python.org/packages/source/k/kombu/kombu-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-distribute
# Test requirements:
BuildRequires: python3-PyYAML
BuildRequires: python3-amqp
BuildRequires: python3-amqplib
BuildRequires: python3-anyjson
#BuildRequires: python3-boto
#BuildRequires: python3-couchdb
BuildRequires: python3-mock
#NOTE(saschpe): Disable optional test for now util issues are resolved
#BuildRequires: python3-msgpack-python
BuildRequires: python3-nose-cover3
BuildRequires: python3-pymongo
#BuildRequires: python3-redis
BuildRequires: python3-unittest2
Requires: python3-amqp >= 1.0.11
Requires: python3-anyjson
Recommends: couchdb
Recommends: mongodb
Recommends: rabbitmq-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
An AMQP messaging framework for Python.
AMQP is the Advanced Message Queuing Protocol, an open standard protocol
for message orientation, queuing, routing, reliability and security.
One of the most popular implementations of AMQP is RabbitMQ.
The aim of Kombu is to make messaging in Python as easy as possible by
providing an idiomatic high-level interface for the AMQP protocol, and also
provide proven and tested solutions to common messaging problems.
%prep
%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.0.11,<1.1.0|amqp>=1.0.11|" 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
# TODO(saschpe): Stop dropping this test once upstream finalized Py3K support:
rm kombu/tests/transport/test_filesystem.py
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python3 setup.py test
%files
%defattr(-,root,root,-)
%doc AUTHORS Changelog FAQ README THANKS TODO LICENSE
%{python3_sitelib}/*
%changelog