gnu: scvelo: Make compatible with latest matplotlib.

* gnu/packages/bioinformatics.scm (scvelo)[arguments]: Add phase
'matplotlib-compatibility.

Change-Id: Ia761821c8aa1e516525cff7c680db471a5908e5f
This commit is contained in:
Ricardo Wurmus 2024-01-09 15:49:11 +01:00
parent e833d3abf8
commit 6b4c911a99
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -20799,6 +20799,11 @@ (define-public scvelo
'(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 _