Subject: [PATCH] gnu: python-uvloop: Skip failing test on PowerPC.
From: Lars-Dominik Braun <[email-masked]>
To: [email-masked]
Date: Wed, 26 Jan 2022 18:48:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-web.scm (python-uvloop)[arguments]: Conditionally
skip test on target-powerpc?.
---
 gnu/packages/python-web.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Hi,

can someone using a PowerPC machine please verify this fixes the build
failure here: https://ci.guix.gnu.org/build/424653/details

Thanks,
Lars

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 406c6cb51b..1c90fde331 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4644,7 +4644,11 @@ (define-public python-uvloop
                               ;; It looks like pytest is preventing
                               ;; custom stdout/stderr redirection,
                               ;; even with -s.
-                              "and not test_process_streams_redirect "))))))))
+                              "and not test_process_streams_redirect "
+                              ;; Fails for unknown reasons.
+                              (if target-powerpc?
+                                  "and not test_write_buffer_full "
+                                  "")))))))))
     (native-inputs
      (list python-aiohttp
            python-cython
-- 
2.34.1