guix-commits
[Top][All Lists]
Advanced

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

37/53: gnu: scvelo: Make compatible with latest matplotlib.


From: guix-commits
Subject: 37/53: gnu: scvelo: Make compatible with latest matplotlib.
Date: Thu, 11 Jan 2024 09:43:02 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit 9bfb18b8465ab7fd8f0dd7054d1bbba88f1f7790
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 7650bb5839..7cea70e4b1 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 _



reply via email to

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