[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: scvelo: Make compatible with latest matplotlib.
From: |
guix-commits |
Subject: |
03/03: gnu: scvelo: Make compatible with latest matplotlib. |
Date: |
Tue, 9 Jan 2024 09:49:56 -0500 (EST) |
rekado pushed a commit to branch wip-python-science
in repository guix.
commit 7d5d056fcb93b408a8482be4025958b37c892e4b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 9 15:49:11 2024 +0100
gnu: scvelo: Make compatible with latest matplotlib.
* gnu/packages/bioinformatics.scm (scvelo)[arguments]: Add phase
'matplotlib-compatibility.
Change-Id: Ia761821c8aa1e516525cff7c680db471a5908e5f
---
gnu/packages/bioinformatics.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1ff3308c9f..a2d15f56ae 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -20740,6 +20740,11 @@ aligner.")
'(list "-k" "not test_perfect_fit and not test_perfect_fit_2d")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'matplotlib-compatibility
+ (lambda _
+ (substitute* "scvelo/settings.py"
+ (("warnings.filterwarnings\\(\"ignore\",
category=cbook.mplDeprecation\\)")
+ ""))))
;; Numba needs a writable dir to cache functions.
(add-before 'check 'set-numba-cache-dir
(lambda _