GNU bug report logs - #77575
[PATCH python-team 00/21] More patches

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 6 Apr 2025 12:34:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77575 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, lars <at> 6xq.net, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org
Subject: [bug#77575] [PATCH 20/21] gnu: python-redis: Ignore i686 failing test.
Date: Sun,  6 Apr 2025 14:37:22 +0200
* gnu/packages/databases.scm (python-redis)
[arguments]{test-flags}: Ignore i686 failing test.
---
 gnu/packages/databases.scm | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1aebf982ae..a7c83e5ea3 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4562,22 +4562,27 @@ (define-public python-redis
                              "and not ssl "
                              "and not graph")
               "-k" (string-join
-                    (list
-                     ;; The autoclaim test fails with "AssertionError: assert
-                     ;; [b'0-0', [], []] == [b'0-0', []]".
-                     "not test_xautoclaim "
-                     ;; These tests cause the following error: "Error 111
-                     ;; connecting to localhost:6380. Connection refused."
-                     ;; (see: https://github.com/redis/redis-py/issues/2109).
-                     "test_sync"
-                     "test_psync"
-                     ;; Same with: "Error 111 connecting to
-                     ;; localhost:6479. Connection refused."
-                     "test_tfcall"
-                     "test_tfunction_load_delete"
-                     "test_tfunction_list"
-                     ;; AssertionError: assert 3 == 2
-                     "test_acl_list")
+                    (append
+                     (list
+                      ;; The autoclaim test fails with "AssertionError: assert
+                      ;; [b'0-0', [], []] == [b'0-0', []]".
+                      "not test_xautoclaim "
+                      ;; These tests cause the following error: "Error 111
+                      ;; connecting to localhost:6380. Connection refused."
+                      ;; (see: https://github.com/redis/redis-py/issues/2109).
+                      "test_sync"
+                      "test_psync"
+                      ;; Same with: "Error 111 connecting to
+                      ;; localhost:6479. Connection refused."
+                      "test_tfcall"
+                      "test_tfunction_load_delete"
+                      "test_tfunction_list"
+                      ;; AssertionError: assert 3 == 2
+                      "test_acl_list")
+                     ;; XXX: This test occasionally fails on i686-linux
+                     (if (string-prefix? "i686" (%current-system))
+                         '("test_geopos")
+                         '()))
                     " and not "))
       #:phases
       #~(modify-phases %standard-phases
-- 
2.49.0





This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.