lilyp pushed a commit to branch gnome-team
in repository guix.

commit 09d64a7d62e63bf8aea371beb9a3666e0356ad5a
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Mar 2 14:41:17 2025 +0200

    gnu: python-h2: Skip a test on riscv64-linux.
    
    * gnu/packages/python-web.scm (python-h2)[arguments]: When building for
    riscv64-linux skip a test.
    
    Change-Id: I1c359046580e5722568362d0954f13b5a2d82e49
---
 gnu/packages/python-web.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2f8cd9ab7f..06b3848e0a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Eric Dvorsak <[email protected]>
-;;; Copyright © 2015-2024 Efraim Flashner <[email protected]>
+;;; Copyright © 2015-2025 Efraim Flashner <[email protected]>
 ;;; Copyright © 2017 Christopher Baines <[email protected]>
 ;;; Copyright © 2016, 2017 Danny Milosavljevic <[email protected]>
 ;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <[email protected]>
@@ -2481,7 +2481,11 @@ and that could be anything you want.")
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest" "-vv" "test")))))))
+               (invoke "python" "-m" "pytest" "-vv" "test"
+                       ;; This test exceededs the Hypothesis deadline.
+                       ,@(if (target-riscv64?)
+                             `("-k" "not test_changing_max_frame_size")
+                             '()))))))))
     (native-inputs
      (list python-hypothesis python-pytest))
     (propagated-inputs

Reply via email to