Accepting request 676527 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/676527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=55
This commit is contained in:
Yuchen Lin 2019-02-19 10:57:57 +00:00 committed by Git OBS Bridge
commit 2d38c00ddf
4 changed files with 79 additions and 14 deletions

View File

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

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

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

View File

@ -1,3 +1,70 @@
-------------------------------------------------------------------
Fri Feb 15 09:54:34 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Added minimum versions to dependencies where provided by upstream
- Re-enable tests on Python 3
- Update to 4.3.0
* Added Python 3.7 support.
* Avoid caching queues which are declared with a TTL.
Queues that are declared with a TTL are now also be excluded from the
in-memory cache in case they expire between publishes on the same channel.
* Added an index to the Message table for the SQLAlchemy transport.
The index allows to effectively sorting the table by the message's timestamp.
* Added a timeout that limits the amount of time we retry
to reconnect to a transport.
* Class celery.asynchronous.hub.Hub is now reentrant.
This allows calling celery.bin.celery.main to revive a worker in
the same process after rescuing from shutdown.
* Queues now accept string exchange names as arguments as documented.
Tests were added to avoid further regressions.
* Specifying names for broadcast queues now work as expected.
Previously, named broadcast queues did not create multiple queues per worker.
They incorrectly declared the named queue which resulted in one queue per
fanout exchange, thus missing the entire point of a fanout exchange.
The behavior is now matched to unnamed broadcast queues.
* When initializing the Redis transport in conjunction with gevent
restore all unacknowledged messages to queue.
* Allow kombu.simple.SimpleQueue to pass queue_arguments to Queue object,
which allows it to connect to RabbitMQ queues with custom arguments
like 'x-queue-mode'='lazy'.
* Add support for 'rediss' scheme for secure Redis connections.
* Added the Azure Storage Queues transport.
* Added the Azure Service Bus transport.
* Drop remaining mentions of Jython support completely.
* When publishing messages to the Pidbox, retry if an error occurs.
* Fix infinite loop in kombu.asynchronous.hub.Hub.create_loop.
Previous attempt to fix the problem (PR kombu/760) did not consider
an edge case. It is now fixed.
* Worker shutdown no longer duplicates messages when using the SQS broker.
* When using the SQS broker, prefer boto's default region before our hardcoded default.
* Fixed closing of shared redis sockets which previously caused Celery to hang.
* the Pyro transport now works with recent Pyro versions.
Also added a Pyro Kombu Broker that this transport needs for its queues.
* Handle non-base64-encoded SQS messages.
* Move the handling of Sentinel failures to the redis library itself.
Previously, Redis Sentinel worked only if the first node's sentinel
service in the URI was up. A server outage would have caused downtime.
* When using Celery and the pickle serializer with binary data as part of the
payload, `UnicodeDecodeError` would be raised as the content was not utf-8.
We now replace on errors.
* Allow setting boto3.sqs.create_queue Attributes via transport_options.
* Fixed infinite loop when entity.channel is replaced by revive() on connection
drop.
* Added optional support for Brotli compression.
* When using the SQS broker, FIFO queues with names that ended with the 'f' letter
were incorrectly parsed. This is now fixed.
* Added optional support for LZMA compression.
* Added optional support for ZStandard compression.
* Require py-amqp 2.4.0 as the minimum version.
* The value of DISABLE_TRACEBACKS environment variable is now respected on debug, info
and warning logger level.
* As documented in kombu/#741 and eventlet/eventlet#415 there is a mismatch
between the monkey-patched eventlet queue and the interface Kombu is
expecting. This causes Celery to crash when the broker_pool_limit
configuration option is set. eventlet/eventlet#415 suggests that the
mutex can be a noop. This is now the case.
* Documentation improvements
-------------------------------------------------------------------
Thu Jan 31 16:19:15 CET 2019 - mcepl@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-kombu
Version: 4.2.2.post1
Version: 4.3.0
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
@ -27,25 +27,25 @@ URL: https://github.com/celery/kombu
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
# Test requirements:
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module amqp >= 2.1.4}
BuildRequires: %{python_module Pyro4}
BuildRequires: %{python_module amqp >= 2.4.0}
BuildRequires: %{python_module boto3}
BuildRequires: %{python_module case}
BuildRequires: %{python_module msgpack-python}
BuildRequires: %{python_module case >= 1.5.2}
BuildRequires: %{python_module msgpack-python > 0.2.0}
BuildRequires: %{python_module pytest-sugar}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module redis}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 20.6.7}
BuildRequires: fdupes
BuildRequires: python
BuildRequires: python-rpm-macros
Requires: python
Requires: python-amqp
Requires: python-amqp >= 2.4.0
Obsoletes: python-carrot
BuildArch: noarch
%if 0%{?suse_version}
Suggests: couchdb
Suggests: mongodb
Suggests: python-Pyro4
Suggests: rabbitmq-server
%endif
%python_subpackages
@ -72,10 +72,8 @@ provide proven and tested solutions to common messaging problems.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests are currently incompatible with python 3.6 (see upstream #675)
# run them only on python 2
%check
python2 setup.py -q test
%python_exec setup.py test
%files %{python_files}
%license LICENSE