Hello community, here is the log from the commit of package python-kombu for openSUSE:Leap:15.2 checked in at 2020-06-08 15:11:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-kombu (Old) and /work/SRC/openSUSE:Leap:15.2/.python-kombu.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kombu" Mon Jun 8 15:11:48 2020 rev:17 rq:812237 version:4.6.4 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-kombu/python-kombu.changes 2020-01-15 15:49:48.807473068 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-kombu.new.3606/python-kombu.changes 2020-06-08 15:11:49.464974493 +0200 @@ -1,0 +2,133 @@ +Wed Sep 11 13:09:23 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 4.6.4: + - Use importlib-metadata instead of pkg_resources for better performance + - Allow users to switch URLs while omitting the resource identifier (#1032) + - Don't stop receiving tasks on 503 SQS error. (#1064) + - Fix maybe declare (#1066) + - Revert "Revert "Use SIMEMBERS instead of SMEMBERS to check for queue (Redis Broker) + - Fix MongoDB backend to work properly with TTL (#1076) + - Make sure that max_retries=0 is treated differently than None (#1080) + - Bump py-amqp to 2.5.1 +- Add patch to fix build with py 3.8: + * python38.patch + +------------------------------------------------------------------- +Fri Jul 19 10:45:25 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Do not depend on pytest-sugar, it is just pretty-formatter + +------------------------------------------------------------------- +Wed Jun 19 10:57:10 UTC 2019 - [email protected] + +- version update to 4.6.3 + * Revert FastUUID for kombu 4.6 + * Fix sbugs and regressions + * other bu fixes + +------------------------------------------------------------------- +Tue Apr 23 11:20:06 UTC 2019 - Thomas Bechtold <[email protected]> + +- Add redis version for BuildRequires. The tests fail with a + lower version so detect that early + +------------------------------------------------------------------- +Fri Apr 5 08:57:55 UTC 2019 - [email protected] + +- version update to 4.5.0 + - The Redis transport now supports a custom separator for keys. + - When the SQS server returns a timeout we ignore it and keep trying + instead of raising an error. + - Properly declare async support for the Qpid transport. + - Revert `celery/kombu#906 <https://github.com/celery/kombu/pull/906>`_ and + introduce unique broadcast queue names as an optional keyword argument. + - Codebase improvements and fixes + +------------------------------------------------------------------- +Thu Mar 28 11:30:54 UTC 2019 - [email protected] + +- version update to 4.4.0 + * Restore bz2 import checks in compression module. + * Fix regression that occurred in 4.3.0 + when parsing Redis Sentinel master URI containing password. + * Handle the case when only one Redis Sentinel node is provided. + * Support SSL URL parameters correctly for `rediss://`` URIs. + * Revert `celery/kombu#954 <https://github.com/celery/kombu/pull/954>`_. + Instead bump the required redis-py dependency to 3.2.0 + to include this fix `andymccurdy/redis-py@4e1e748 + * Added support for broadcasting using a regular expression pattern + or a glob pattern to multiple Pidboxes. + +------------------------------------------------------------------- +Wed Mar 13 10:00:40 UTC 2019 - Hans-Peter Jansen <[email protected]> + +- Build require a more current msgpack version + +------------------------------------------------------------------- +Fri Feb 15 09:54:34 UTC 2019 - John Vandenberg <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- kombu-4.2.2.post1.tar.gz New: ---- kombu-4.6.4.tar.gz python38.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kombu.spec ++++++ --- /var/tmp/diff_new_pack.vlFrCb/_old 2020-06-08 15:11:49.836975511 +0200 +++ /var/tmp/diff_new_pack.vlFrCb/_new 2020-06-08 15:11:49.840975522 +0200 @@ -18,34 +18,36 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-kombu -Version: 4.2.2.post1 +Version: 4.6.4 Release: 0 Summary: AMQP Messaging Framework for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/celery/kombu Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz -# Test requirements: +Patch0: python38.patch BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module amqp >= 2.1.4} -BuildRequires: %{python_module boto3} -BuildRequires: %{python_module case} -BuildRequires: %{python_module msgpack-python} -BuildRequires: %{python_module pytest-sugar} +BuildRequires: %{python_module Pyro4} +BuildRequires: %{python_module amqp >= 2.5.1} +BuildRequires: %{python_module boto3 >= 1.4.4} +BuildRequires: %{python_module case >= 1.5.2} +BuildRequires: %{python_module importlib-metadata >= 0.18} +BuildRequires: %{python_module msgpack > 0.5.2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} -BuildRequires: %{python_module redis} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module redis >= 3.2.0} +BuildRequires: %{python_module setuptools >= 20.6.7} BuildRequires: fdupes -BuildRequires: python BuildRequires: python-rpm-macros -Requires: python -Requires: python-amqp +Requires: python-amqp >= 2.5.1 +Requires: python-importlib-metadata >= 0.18 +Requires: python-setuptools Obsoletes: python-carrot BuildArch: noarch %if 0%{?suse_version} Suggests: couchdb Suggests: mongodb +Suggests: python-Pyro4 Suggests: rabbitmq-server %endif %python_subpackages @@ -64,6 +66,7 @@ %prep %setup -q -n kombu-%{version} +%patch0 -p1 %build %python_build @@ -72,10 +75,8 @@ %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 +%pytest %files %{python_files} %license LICENSE ++++++ kombu-4.2.2.post1.tar.gz -> kombu-4.6.4.tar.gz ++++++ ++++ 6313 lines of diff (skipped) ++++++ python38.patch ++++++ >From c75039547a57036a627e067173a2b4c136350b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]> Date: Tue, 20 Aug 2019 11:30:02 +0200 Subject: [PATCH] Use importlib.metadata from the standard library on Python 3.8+ --- kombu/utils/compat.py | 6 +++++- requirements/default.txt | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kombu/utils/compat.py b/kombu/utils/compat.py index c5f0bf118..a741c4350 100644 --- a/kombu/utils/compat.py +++ b/kombu/utils/compat.py @@ -7,7 +7,11 @@ from functools import wraps from contextlib import contextmanager -import importlib_metadata + +try: + from importlib import metadata as importlib_metadata +except ImportError: + import importlib_metadata from kombu.five import reraise diff --git a/requirements/default.txt b/requirements/default.txt index 00e57cc09..e3ec1c894 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -1,2 +1,2 @@ amqp>=2.5.1,<3.0 -importlib-metadata>=0.18 +importlib-metadata>=0.18; python_version<"3.8"
