Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-redis for openSUSE:Factory checked in at 2026-12-01 16:58:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-redis (Old) and /work/SRC/openSUSE:Factory/.python-redis.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redis" Tue Dec 1 16:58:19 2026 rev:49 rq:1401441 version:8.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes 2025-11-07 18:21:32.685139282 +0100 +++ /work/SRC/openSUSE:Factory/.python-redis.new.1340718/python-redis.changes 2026-12-01 16:58:58.895134587 +0100 @@ -1,0 +2,236 @@ +Sun Nov 22 11:40:37 UTC 2026 - Dirk Müller <[email protected]> + +- update to 8.1.0: + * # Changes + * ### Async maintenance notifications + * redis-py now supports server-pushed **maintenance + notifications** in the asyncio stack for both + * standalone and cluster clients, bringing the async client to + parity with the sync implementation. + * When a Redis deployment signals maintenance events (such as + node migration or failover windows), the + * async client reacts through the maintenance-notifications + handler (`redis/maint_notifications.py` and + * its async integration under `redis/asyncio/`), allowing + applications to adapt connection handling + * during maintenance without downtime. + * ### Expanded command coverage + * This release adds a batch of new command surfaces across core + data types and modules: + * **Lists** — `LMOVEM` / `BLMOVEM` for moving multiple elements + between lists (#4174). + * **Sets** — `SDIFFCARD` and `SUNIONCARD` cardinality commands + (#4171). + * **Streams** — `MAXCOUNT` / `MAXSIZE` options for `XREAD` and + `XREADGROUP` (#4173). + * **Time Series** — `TS.READ` (#4170), `TS.QUERYLABELS` + (#4197), `TS.NRANGE` / `TS.NREVRANGE` (#4163), + * and an `exclude_empty` (`EXCLUDEEMPTY`) option for + `TS.MRANGE` / `TS.MREVRANGE` (#4188). + * **Search** — `FT.ALIASLIST` (#4198) and a `COLLECT` reducer + for aggregations (#4179). + * **Sentinel** — replica sentinel aliases (#4127). + * Add replica sentinel aliases + * Add TS.NRANGE and TS.NREVRANGE support to the timeseries + command surface + * feat: add TS.READ command support to the timeseries module + * feat: add SDIFFCARD and SUNIONCARD command support + * feat: add MAXCOUNT/MAXSIZE support to XREAD and XREADGROUP + * feat: add LMOVEM and BLMOVEM commands for moving multiple + list elements + * feat: add async maintenance-notifications support for + standalone and cluster clients + * feat: add COLLECT reducer support to search aggregations + * feat: add exclude_empty (EXCLUDEEMPTY) option to TS.MRANGE + and TS.MREVRANGE + * feat: add TS.QUERYLABELS support to the timeseries command + surface + * feat: add FT.ALIASLIST support + * ## ⚠️ Experimental + * feat: add client-side HIMPORT fieldset support for standalone + and cluster clients + * The feature considered unstable and **public API might be + changed in the future minor version** + * fix: detect closed pooled connection without consuming + pending push data (RESP3 + hiredis) + * Fix Sentinel pool capacity loss after failover + * fix: Restore NEVER_DECODE option for FT.SEARCH with + protocol=3 + * Decode ACL LOG string values on the default RESP3 legacy + callback + * fix: Fixed double decoding issue with unquote() + * Fix lat/lon swap in search querystring geo() helper + * Fix FIELDNAME alias dropping first character of un-prefixed + fields + * ci: report test duration metrics to Grafana Cloud (PAWS) + * fix(hiredis): raise ConnectionError instead of AttributeError + on concurrent disconnect + * docs: consolidate AI-agent guidance into root AGENTS.md and + portable agents/skills + * Bump actions/checkout from 6 to 7 + * Bump rojopolis/spellcheck-github-actions from 0.60.0 to + 0.62.0 + * test(search): add multi-language RediSearch coverage, re- + enable search module pipeline tests, add 8.10 to CI matrix + * Remove stale "connection" arg from get_resolved_ip docstring + * Add context manager support to ConnectionPool + * test: add unit tests for cluster key_slot hash-tag logic + * Add unit tests for string helper utilities + * test: add unit tests for decode_field_value + * Add unit tests for extract_expire_flags and truncate_text + * fix: add close()/aclose() to Sentinel to release sentinel + client pools + * test: add FT.SEARCH server-timeout coverage for return and + fail policies + * test: run the standard suite against an external Redis + Enterprise database + * build: bump Read the Docs build.os from ubuntu-20.04 to + ubuntu-24.04 + * fix: add missing type annotations to LockError and + RedisClusterException + * test: add VectorField RERANK serialization tests for sync and + async search + * We'd like to thank all the contributors who worked on this + release! + * @LOGESHWAR123 @kiryazovi-redis @Stunned1 @eeshsaxena @sean- + kim05 @Brumbelow @Sanjays2402 @nazarli-shabnam @chuenchen309 + @petyaslavova +- update to 8.0.1: + * Fix Unix socket maintenance notification handling and tests + * Fix async cluster node connection release on write errors + * Fixed async MultiDBClient with underlying RedisCluster + * Fix hiredis readiness checks for high file descriptors + * fix(search): parse RESP3 FT.SEARCH responses with bytes-typed + keys + * Fixing pubsub's listen method to be blocking. + * fix(asyncio): release pooled connection when Pipeline.reset() + is cancelled + * Avoid per-check fd allocation in hiredis _socket_can_read() — + use poll() instead of a per-call selector + * Updating PyJWT dependency. + * Update CI badge in README.md + * Add missing url query argument parser for ssl_min_version + * ci: least-privilege permissions on spellcheck (read) and + stale-issues (job-level write for actions/stale) + * Bumping github-versions actions + * Updating lib version + supported Redis versions in README.md + + updating the Redis versions in CI test matrix + * We'd like to thank all the contributors who worked on this + release! + * @violuke @mokashang @arpitjain099 @coredumperror @elena- + kolevska @vladvildanov @petyaslavova +- update to 7.4.1: + * Preserve explicit None for client metadata config + * Updating PyJWT dependency. + * Addressing dependency vulnerabilities and flaky test fixes + (source diff) + * We'd like to thank all the contributors who worked on this + release! + +------------------------------------------------------------------- +Tue Apr 14 02:57:31 UTC 2026 - Steve Kowalik <[email protected]> + +- Add missing BuildRequires/Suggests on xxhash. +- Skip more cluster tests. +- Actually delete remove-mock.patch. + +------------------------------------------------------------------- +Fri Apr 10 11:59:03 UTC 2026 - Dirk Müller <[email protected]> + +- update to 7.4.0: + * Fix AttributeError in cluster metrics recording when + connection is None or ClusterNode object instance is used to + extract the connection info + * Fixing security concern in __repr__ methods for + ConnectionPools - passwords might leak in plain text logs + * Refactored connection count and SCH metric collection + * -Refactored health check logic for MultiDBClient + * Expose basic Otel classes and functions to be importable + through redis.observability to match the examples in the + readthedocs +- update to 7.3.0: + * **OpenTelemetry Native Metrics Support for asynchronous + clients** + * Added comprehensive OpenTelemetry metrics support for + asynchronous clients following the OpenTelemetry Database + Client Semantic Conventions. + * Command metrics: Operation duration with retry tracking + * Connection basic: Connection count and creation time + * Resiliency: Errors, handoffs, timeout relaxation + * Connection advanced: Wait time and use time + * Pubsub metrics: Published and received messages + * Stream metrics: Processing duration and maintenance + notifications +- update to 7.2.1: + * Handle connection attributes conditionally for metrics and + set connection data on exceptions in cluster error handling + * Fixing error handling of connection buffer purging of closed + connections. Enabling troubleshooting logging for maintenance + notifications e2e tests. + * Fix protocol validation: replace finally with else and store + parsed int + * Return copies from _get_free/in_use_connections and fix async + _mock + * Add missing shard channel message types to async PubSub + * Fix issues with ClusterPipeline connection management + * fix(pubsub): avoid UnicodeDecodeError on reconnect with + binary channel names + * Hold references to ClusterNode disconnect task + * remove remaining imports of typing_extensions +- update to 7.2.0: + * This release introduces comprehensive support for Redis + Enterprise Cluster maintenance notifications via + SMIGRATING/SMIGRATED push notifications. The client now + automatically handles slot migrations by: + * Relaxing timeouts during migration (SMIGRATING) to prevent + false failures + * Triggering cluster state reloads upon completion (SMIGRATED) + * Enabling seamless operations during Redis Enterprise + maintenance windows + * **OpenTelemetry Native Metrics Support** + * Added comprehensive OpenTelemetry metrics support following + the OpenTelemetry Database Client Semantic Conventions. + * Metric groups include: + * Command metrics: Operation duration with retry tracking + * Connection basic: Connection count and creation time + * Resiliency: Errors, handoffs, timeout relaxation + * Connection advanced: Wait time and use time + * Pubsub metrics: Published and received messages + * Stream metrics: Processing duration and maintenance + notifications + * Added OTel instrumentation and metrics export for sync client + * Add maintenance notifications support for OSS API cluster + clients + * Adding hotkeys commands support. + * Adds support for the new Idempotent Producers feature in + Redis 8.6 + * Adding support for vrange command. + * Added a local digest command to the client to execute the + XXH3 locally… + * Add DriverInfo class for upstream driver tracking + * Add ssl_password support to async Redis client + * Add ssl_ca_path support to async Redis client + * Remove Python 3.9 support. Add Python 3.14 support. + * Sync readme with 7.0.1 and update lib version to latest + stable released version - 7.0.1 + * Bump rojopolis/spellcheck-github-actions from 0.52.0 to + 0.53.0 + * Bump actions/upload-artifact from 4 to 5 + * Bump github/codeql-action from 3 to 4 + * Fixing flaky tests + * Update 8.4 RC image tag to 8.4-RC1-pre.2 for pipeline test + matrix + * Add missing f-string when returning an error. + * Adding latest 8.4 image to test matrix. Updating the Hybrid + VSIM query format to be in sync with spec after srv issue was + fixed. + * Expand cluster READ_COMMANDS with additional read-only + commands and reorganize the list of commands by category + * Update Type Hints for List Command Parameters from str to + KeyT + * Changing log level to be debug for failed maintenance + notification enablement when enabled='auto' + * Added custom event handler section +- drop remove-mock.patch (obsolete) + +------------------------------------------------------------------- Old: ---- redis-7.0.1.tar.gz remove-mock.patch New: ---- redis-8.1.0.tar.gz ----------(Old B)---------- Old:- Skip more cluster tests. - Actually delete remove-mock.patch. ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-redis.spec ++++++ --- /var/tmp/diff_new_pack.Sp4KBh/_old 2026-12-01 16:59:00.540203337 +0100 +++ /var/tmp/diff_new_pack.Sp4KBh/_new 2026-12-01 16:59:00.542203420 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-redis # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ %{?sle15_python_module_pythons} Name: python-redis%{psuffix} -Version: 7.0.1 +Version: 8.1.0 Release: 0 Summary: Python client for Redis key-value store License: MIT @@ -42,20 +42,16 @@ Source1: sentinel.conf Source2: skipped_tests Patch0: increase-test-timeout.patch -# PATCH-FIX-UPSTREAM Based on gh#redis/redis-py#3830 -Patch1: remove-mock.patch Patch2: test_add_elem_no_quant.patch -BuildRequires: %{python_module async-timeout >= 4.0.2 if %python-base < 3.11.3} -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatchling} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: psmisc BuildRequires: python-rpm-macros %if %{with test} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pybreaker >= 1.4} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} @@ -63,10 +59,12 @@ BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module redis = %{version}} BuildRequires: %{python_module redis-entraid} +BuildRequires: %{python_module xxhash >= 3.6.0} BuildRequires: redis %endif -Requires: (python-async-timeout >= 4.0.2 if python-base < 3.11.3) -Recommends: python-hiredis >= 1.0.0 +Requires: (python-async-timeout >= 4.0.3 if python-base < 3.11.3) +Recommends: python-hiredis >= 3.2.0 +Recommends: python-xxhash >= 3.6.0 Recommends: redis BuildArch: noarch %python_subpackages @@ -79,7 +77,6 @@ %ifarch s390x %patch -P 0 -p1 %endif -%patch -P 1 -p1 %patch -P 2 -p1 %if %{without test} ++++++ increase-test-timeout.patch ++++++ --- /var/tmp/diff_new_pack.Sp4KBh/_old 2026-12-01 16:59:00.578204925 +0100 +++ /var/tmp/diff_new_pack.Sp4KBh/_new 2026-12-01 16:59:00.581205050 +0100 @@ -1,24 +1,14 @@ -Index: redis-5.0.1/tests/test_asyncio/test_lock.py +Index: redis-8.1.0/pyproject.toml =================================================================== ---- redis-5.0.1.orig/tests/test_asyncio/test_lock.py -+++ redis-5.0.1/tests/test_asyncio/test_lock.py -@@ -107,7 +107,7 @@ class TestLock: - async def test_blocking_timeout(self, r, event_loop): - lock1 = self.get_lock(r, "foo") - assert await lock1.acquire(blocking=False) -- bt = 0.2 -+ bt = 0.3 - sleep = 0.05 - lock2 = self.get_lock(r, "foo", sleep=sleep, blocking_timeout=bt) - start = event_loop.time() -Index: redis-5.0.1/pytest.ini -=================================================================== ---- redis-5.0.1.orig/pytest.ini -+++ redis-5.0.1/pytest.ini -@@ -10,4 +10,4 @@ markers = - replica: replica tests - experimental: run only experimental tests - asyncio_mode = auto +--- redis-8.1.0.orig/pyproject.toml ++++ redis-8.1.0/pyproject.toml +@@ -92,7 +92,7 @@ markers = [ + ] + asyncio_default_fixture_loop_scope = "function" + asyncio_mode = "auto" -timeout = 30 +timeout = 40 + filterwarnings = [ + "always", + # Ignore a coverage warning when COVERAGE_CORE=sysmon for Pythons < 3.12. ++++++ redis-7.0.1.tar.gz -> redis-8.1.0.tar.gz ++++++ ++++ 130710 lines of diff (skipped) ++++++ skipped_tests ++++++ --- /var/tmp/diff_new_pack.Sp4KBh/_old 2026-12-01 16:59:00.886217797 +0100 +++ /var/tmp/diff_new_pack.Sp4KBh/_new 2026-12-01 16:59:00.893218090 +0100 @@ -4,6 +4,17 @@ # ssl: no stunnel with certs from docker container, fails at test collection -m='not (onlycluster or redismod or ssl)' + # more cluster tests + --ignore=tests/maint_notifications/test_cluster_maint_notifications_handling.py + --ignore=tests/maint_notifications/test_async_cluster_maint_notifications_handling.py + + # multidb integration tests need a cluster and a second standalone database + --deselect=tests/test_multidb/test_integration.py::TestMultiDbClientIntegration::test_ping_against_two_databases + --deselect=tests/test_asyncio/test_multidb/test_integration.py::TestMultiDbClientIntegration::test_ping_against_two_databases + + # requires TLS certificates from upstream docker setup + --deselect=tests/test_cache.py::TestSSLCache + # broken tests in ppc64le --deselect=tests/test_commands.py::TestRedisCommands::test_geopos --deselect=tests/test_commands.py::TestRedisCommands::test_georadius @@ -43,6 +54,10 @@ # Tests that may require more set up and are ignored in upstream CI pipelines --ignore=tests/test_scenario --ignore=tests/test_asyncio/test_scenario + + # Requires more than 1 running sentinel + --deselect=tests/test_asyncio/test_sentinel.py::test_sentinel_commands_with_strict_redis_client + --deselect=tests/test_sentinel.py::test_sentinel_commands_with_strict_redis_client ) valkey_skipped_tests=( ++++++ test_add_elem_no_quant.patch ++++++ --- /var/tmp/diff_new_pack.Sp4KBh/_old 2026-12-01 16:59:00.904218550 +0100 +++ /var/tmp/diff_new_pack.Sp4KBh/_new 2026-12-01 16:59:00.907218675 +0100 @@ -1,6 +1,7 @@ -diff -Pdpru redis-py-6.2.0.orig/tests/test_asyncio/test_vsets.py redis-py-6.2.0/tests/test_asyncio/test_vsets.py ---- redis-py-6.2.0.orig/tests/test_asyncio/test_vsets.py 2025-05-27 19:21:45.000000000 +0300 -+++ redis-py-6.2.0/tests/test_asyncio/test_vsets.py 2025-06-30 18:35:24.108629200 +0300 +Index: redis-8.1.0/tests/test_asyncio/test_vsets.py +=================================================================== +--- redis-8.1.0.orig/tests/test_asyncio/test_vsets.py ++++ redis-8.1.0/tests/test_asyncio/test_vsets.py @@ -83,7 +83,7 @@ async def test_add_elem_no_quant(d_clien assert resp == 1 @@ -10,9 +11,10 @@ @skip_if_server_version_lt("7.9.0") -diff -Pdpru redis-py-6.2.0.orig/tests/test_vsets.py redis-py-6.2.0/tests/test_vsets.py ---- redis-py-6.2.0.orig/tests/test_vsets.py 2025-05-27 19:21:45.000000000 +0300 -+++ redis-py-6.2.0/tests/test_vsets.py 2025-06-30 18:35:03.140295444 +0300 +Index: redis-8.1.0/tests/test_vsets.py +=================================================================== +--- redis-8.1.0.orig/tests/test_vsets.py ++++ redis-8.1.0/tests/test_vsets.py @@ -87,7 +87,7 @@ def test_add_elem_no_quant(d_client): assert resp == 1
