public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matteo Centenaro <matteo.centenaro@aiven.io>
To: git-commits@fedoraproject.org
Subject: [rpms/python-valkey] f44: Fix tests for build of version 6.2.0 on F44
Date: Wed, 14 Oct 2026 12:03:12 GMT	[thread overview]
Message-ID: <179197939232.1.6867555713529727051.rpms-python-valkey-ed7dc71123f3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-valkey
Branch : f44
Commit : ed7dc71123f3ef2034a16a5b9c2126972fd674be
Author : Matteo Centenaro <matteo.centenaro@aiven.io>
Date   : 2026-10-14T14:02:35+02:00
Stats  : +54/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-valkey/c/ed7dc71123f3ef2034a16a5b9c2126972fd674be?branch=f44

Log:
Fix tests for build of version 6.2.0 on F44

---
diff --git a/pr-303.patch b/pr-303.patch
new file mode 100644
index 0000000..80a47cc
--- /dev/null
+++ b/pr-303.patch
@@ -0,0 +1,50 @@
+diff --git a/tests/test_commands.py b/tests/test_commands.py
+index 0afbd37..4154632 100644
+--- a/tests/test_commands.py
++++ b/tests/test_commands.py
+@@ -332,11 +332,19 @@ class TestValkeyCommands:
+         assert set(acl["keys"]) == {"~cache:*", "~objects:*"}
+         assert len(acl["passwords"]) == 2
+         assert set(acl["channels"]) == {"&message:*"}
+-        assert_resp_response(
++        assert_resp_response_in(
+             r,
+             acl["selectors"],
+             [
+-                [
++                [[
++                    "commands",
++                    "-@all +set",
++                    "keys",
++                    "%W~app*",
++                    "channels",
++                    "",
++                ]],
++                [[
+                     "commands",
+                     "-@all +set",
+                     "keys",
+@@ -345,15 +353,20 @@ class TestValkeyCommands:
+                     "",
+                     "databases",
+                     "alldbs",
+-                ]
++                ]],
+             ],
+             [
+-                {
++                [{
++                    "commands": "-@all +set",
++                    "keys": "%W~app*",
++                    "channels": "",
++                }],
++                [{
+                     "commands": "-@all +set",
+                     "keys": "%W~app*",
+                     "channels": "",
+                     "databases": "alldbs",
+-                }
++                }],
+             ],
+         )
+ 

diff --git a/python-valkey.spec b/python-valkey.spec
index 8382094..848ea3b 100644
--- a/python-valkey.spec
+++ b/python-valkey.spec
@@ -10,6 +10,10 @@ Source:         %{url}/archive/v%{version}/python-valkey-%{version}.tar.gz
 # Upstream issue:
 # https://github.com/valkey-io/valkey-py/pull/360
 Patch0:         pr-360.patch
+# Fix test_acl_getuser_setuser for newer Valkey versions
+# Upstream issue:
+# https://github.com/valkey-io/valkey-py/pull/303
+Patch1:         pr-303.patch
 BuildArch:      noarch
 
 BuildRequires:  python3-devel

                 reply	other threads:[~2026-10-14 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179197939232.1.6867555713529727051.rpms-python-valkey-ed7dc71123f3@fedoraproject.org \
    --to=matteo.centenaro@aiven.io \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox