Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-kombu for openSUSE:Factory checked in at 2026-11-20 14:47:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-kombu (Old) and /work/SRC/openSUSE:Factory/.python-kombu.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kombu" Fri Nov 20 14:47:11 2026 rev:94 rq:1398854 version:5.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-kombu/python-kombu.changes 2026-04-14 17:49:59.947705189 +0200 +++ /work/SRC/openSUSE:Factory/.python-kombu.new.1251/python-kombu.changes 2026-11-20 14:50:04.398879032 +0100 @@ -1,0 +2,65 @@ +Fri Nov 20 01:42:02 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 5.7.0: + * Drop Python 3.9 support + * Update amqp requirement to >= 5.4.2 + * Update redis requirement to >= 6.4.0, < 9.0.0 and support redis-py 7.x/8.x + * Move packaging dependency to the Redis extras + * Add py.typed marker for PEP 561 compliance + * Use stdlib compression.zstd (PEP 784) when available + * Add PGMQ transport for PostgreSQL message queues + * Add support for fair queues and fanout via AWS SNS in SQS transport + * Support delay_seconds and clamp per-message delays in SQS + * Fix SQS transport deadlock, polling_interval in async loop, and + visibility_timeout coercion + * Release SQS prefetch slot on DeleteMessage failure, avoid backoff on + invalid receipt handles, and delete messages rejected without requeue + * Avoid KeyError in SQS when receive completes after basic_cancel + * Support Redis queue expiration (including binding tables) and + pipeline-based batch publishing + * Support callable passwords and Redis credential_provider token rotation + * Make Redis ack-emulation restore cadence configurable and add + sentinel_fanout_compat option + * Fix Redis KeyError/ValueError/timer-callback crashes on disconnect, + drop overdue/idle BRPOP connections, and pause BRPOP when QoS is full + * Close Sentinel node connections in _disconnect_pools and clean up + Redis consumer registrations after disconnect + * Keep unacked Redis messages when restore hits a connection error + * Fix RabbitMQ 4.x / 4.3.0 compatibility (global QoS on classic queues) + * Support prefixed native delayed delivery and strip existing delay + prefixes on retry + * Honor delivery_mode in Exchange.Message and preserve options in + Queue.from_dict + * Fix publish(retry=True) failing after reconnect with a named exchange + * Stop topic '*' wildcard from matching across dots and reject URLs with + dotted schemes + * Honor autoretry options on initial connect, cycle hosts before + errback, and cap channel retries at max_retries + * Ensure consumer recovers from broker connection restarts + * Add missing reprkwargs export to utils module + * Fix Logwrapped context manager protocol and ChannelPromise tracebacks + * Fix active_queues ordering, LRUCache overwrite eviction, token bucket + timestamps, and retry_over_time interval_max cap + * Raise ValueError in fileno() when given None and reject bool pool + limits + * Fix binary emergency state dumps and use logging instead of print + * Support memoryview and bytearray in YAML decoder + * Wake event loop when hub.call_soon() is called from another thread + * Close HTTP client with the hub and do not reuse after Hub.reset() + * Catch OSError in eventio and add gevent concurrent error to + connection errors + * Implement missing _delete() in filesystem.Channel, prevent path + traversals, match queue names exactly, and stop masking open errors + * Fix SQLAlchemy transport: BIGINT ids on MSSQL, count only pending + messages on purge, and raise on store/purge commit failures + * Scope queue/client caches to Connection/channel across SQS, + ZooKeeper, Azure Service Bus, Azure Storage Queues, and Kafka QoS + * Azure Service Bus: support dots in queue names, AutoLockRenewer, + gevent lock renewal, AMQP reconnect recovery, and renewal filtering + * GCP Pub/Sub: support exactly-once delivery, Duration as timedelta, + subscription updates, retry on publish, and emulator/tag fixes + * Handle missing Pyro4 in driver_version +- Add patch use-mocked-gettempdir.patch: + * Do not fail tests if TMPDIR isn't cleaned. + +------------------------------------------------------------------- Old: ---- kombu-5.6.2.tar.gz New: ---- kombu-5.7.0.tar.gz use-mocked-gettempdir.patch ----------(New B)---------- New: * Handle missing Pyro4 in driver_version - Add patch use-mocked-gettempdir.patch: * Do not fail tests if TMPDIR isn't cleaned. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kombu.spec ++++++ --- /var/tmp/diff_new_pack.97e9eS/_old 2026-11-20 14:50:05.461923953 +0100 +++ /var/tmp/diff_new_pack.97e9eS/_new 2026-11-20 14:50:05.462923996 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-kombu -Version: 5.6.2 +Version: 5.7.0 Release: 0 Summary: AMQP Messaging Framework for Python License: BSD-3-Clause @@ -27,12 +27,15 @@ # PATCH-FIX-OPENSUSE Use Pyro4 compatibility for now, upstream should switch # for 5.3 Patch0: support-pyro-5.patch +# PATCH-FIX-UPSTREAM gh#celery/kombu#2865 +Patch1: use-mocked-gettempdir.patch BuildRequires: %{python_module Brotli >= 1.0.9} BuildRequires: %{python_module PyYAML >= 3.10} BuildRequires: %{python_module Pyro5} BuildRequires: %{python_module SQLAlchemy} -BuildRequires: %{python_module amqp >= 5.1.1} +BuildRequires: %{python_module amqp >= 5.4.2} BuildRequires: %{python_module azure-identity >= 1.12.0} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module boto3 >= 1.26.143} BuildRequires: %{python_module google-cloud-monitoring} BuildRequires: %{python_module google-cloud-pubsub} @@ -41,18 +44,17 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pre-commit} BuildRequires: %{python_module pycurl >= 7.43.0.5} +BuildRequires: %{python_module pytest-freezer} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module redis >= 4.5.2} +BuildRequires: %{python_module redis >= 6.4.0} BuildRequires: %{python_module setuptools >= 47} -BuildRequires: %{python_module vine} +BuildRequires: %{python_module vine >= 5.1.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: timezone -Requires: python-amqp >= 5.1.1 -Requires: python-packaging -Requires: python-tzdata -Requires: python-vine +Requires: python-amqp >= 5.4.2 +Requires: python-vine >= 5.1.0 Recommends: python-Brotli >= 1.0.9 Recommends: python-PyYAML >= 3.10 BuildArch: noarch @@ -85,9 +87,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# test_global_keyprefix_transaction doesn't support new redis yet https://github.com/celery/kombu/pull/2132 -# test_connparams_health_check_interval_supported broken with redis 7.4 -%pytest -k "not (test_global_keyprefix_transaction or test_connparams_health_check_interval_supported)" +%pytest %files %{python_files} %license LICENSE ++++++ kombu-5.6.2.tar.gz -> kombu-5.7.0.tar.gz ++++++ ++++ 31509 lines of diff (skipped) ++++++ use-mocked-gettempdir.patch ++++++ >From 047cc564335a4f349a3186a19eed5dea389ddc59 Mon Sep 17 00:00:00 2001 From: Steve Kowalik <[email protected]> Date: Fri, 20 Nov 2026 12:27:05 +1100 Subject: [PATCH] Avoid test failure with multiple pytest runs test_get_closes_file_when_read_fails creates a file in TMPDIR, and does not remove it on teardown, which means if you run pytest and then run it a second time with the same TMPDIR, the test will fail because the file still exists. Mock gettempdir() to write it into the directory that does get cleaned up during teardown. --- t/unit/transport/test_filesystem.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/unit/transport/test_filesystem.py b/t/unit/transport/test_filesystem.py index 5fff33cf3b..b1052315fb 100644 --- a/t/unit/transport/test_filesystem.py +++ b/t/unit/transport/test_filesystem.py @@ -601,7 +601,10 @@ def test_get_closes_file_when_read_fails(self): f.write(dumps({"body": "x"})) broken = mock_open() broken.return_value.read.side_effect = OSError("read failed") - with patch("builtins.open", broken): + with ( + patch("tempfile.gettempdir", return_value=self.data_folder_out), + patch("builtins.open", broken), + ): with pytest.raises(ChannelError) as excinfo: self.channel._get("q") assert isinstance(excinfo.value.__cause__, OSError)
