guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: python-matplotlib: Disable test that fails on Python 3.10.


From: guix-commits
Subject: 04/08: gnu: python-matplotlib: Disable test that fails on Python 3.10.
Date: Sun, 18 Sep 2022 07:00:07 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 756784039115152a0186750639b9a0c2f9445a77
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Sep 1 22:08:50 2022 +0200

    gnu: python-matplotlib: Disable test that fails on Python 3.10.
    
    * gnu/packages/python-xyz.scm (python-matplotlib)[arguments]: Skip one test.
---
 gnu/packages/python-xyz.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4d2551b5e..13928bd6f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6469,9 +6469,16 @@ tests = True~%" (assoc-ref inputs "tcl") (assoc-ref 
inputs "tk"))))))
                   (invoke "pytest"
                           "-n" (number->string (parallel-job-count))
                           "-m" "not network" "--pyargs" "matplotlib"
-                          ;; The 'test_lazy_auto_backend_selection' fails
-                          ;; because it would require an X server; skip it.
-                          "-k" "not test_lazy_auto_backend_selection"))))))))
+                          "-k"
+                          (string-append
+                           ;; The 'test_lazy_auto_backend_selection' fails
+                           ;; because it would require an X server; skip it.
+                           "not test_lazy_auto_backend_selection"
+                           ;; test_getattr fails for the GTK backend because
+                           ;; of an unexpected warning from Python 3.10
+                           ;; (via the gi module):
+                           ;; 
https://gitlab.gnome.org/GNOME/pygobject/-/issues/494
+                           " and not test_getattr")))))))))
     (propagated-inputs
      (list gobject-introspection
            python-cairocffi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]