summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-01 22:08:50 +0200
committerMarius Bakke <marius@gnu.org>2022-09-18 10:35:37 +0200
commit756784039115152a0186750639b9a0c2f9445a77 (patch)
treecda65f82ec39afdce6d86d16933ed26c55857143
parent29e4955d0db8d39e1d38c47543766a95f05ebae2 (diff)
gnu: python-matplotlib: Disable test that fails on Python 3.10.
* gnu/packages/python-xyz.scm (python-matplotlib)[arguments]: Skip one test.
-rw-r--r--gnu/packages/python-xyz.scm13
1 files 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