From 6b4c911a99c677d67d826e8d5e53394bf1d3282e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 9 Jan 2024 15:49:11 +0100 Subject: [PATCH] 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 153b190630..70ba4d65a5 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -20799,6 +20799,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 _