guix-commits
[Top][All Lists]
Advanced

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

38/47: gnu: scvelo: Make compatible with latest matplotlib.


From: guix-commits
Subject: 38/47: gnu: scvelo: Make compatible with latest matplotlib.
Date: Wed, 10 Jan 2024 14:53:00 -0500 (EST)

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

commit 6b1af2f728c6c0e8ab1bd9fa41e932fae391c7cb
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]