rekado pushed a commit to branch master
in repository guix.
commit e539135b3e60ca8555bbf807aaf8a5a630b8752d
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Jan 6 10:14:34 2025 +0100
gnu: python-anndata: Update to 0.11.1.
* gnu/packages/python-xyz.scm (python-anndata): Update to 0.11.1.
[arguments]: Update list of disabled tests; do not patch conftest.
[native-inputs]: Add python-pytest-mock.
Change-Id: I6f087bb19a71006fd9f9c2c92150fa4d038fa2a6
---
gnu/packages/python-xyz.scm | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 163859388c..a9dc41d1ac 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29593,7 +29593,7 @@ N-dimensional arrays for Python.")
(define-public python-anndata
(package
(name "python-anndata")
- (version "0.10.7")
+ (version "0.11.1")
(source
(origin
;; The tarball from PyPi doesn't include tests.
@@ -29604,24 +29604,18 @@ N-dimensional arrays for Python.")
(file-name (git-file-name name version))
(sha256
(base32
- "1i08rm1xnsnq12rjv4virgdx61bra1gsfagjdq0kcpz8npxqa0as"))))
+ "0skmjjvxk5gdsx6fkplszff92jsb4l45j23c6mhq1vdi3wqhqhcw"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- '(list "-k" (string-append "not concatenation.rst"
- ;; fixture 'mocker' not found
- " and not test_consecutive_bool"))
+ ;; This one test seemingly freezes
+ '(list "-k" "not test_read_lazy_h5_cluster")
#:phases
#~(modify-phases %standard-phases
;; Doctests require scanpy from (gnu packages bioinformatics)
(add-after 'unpack 'disable-doctests
(lambda _
- (substitute* "conftest.py"
- (("import pytest")
- (string-append "import pytest\nimport _pytest\n"))
- (("pytest.DoctestItem")
- "_pytest.doctest.DoctestItem"))
(substitute* "pyproject.toml"
(("--doctest-modules") ""))))
(add-before 'build 'set-version
@@ -29657,6 +29651,7 @@ N-dimensional arrays for Python.")
python-loompy
python-matplotlib
python-pytest
+ python-pytest-mock
python-pytest-doctestplus
python-pytest-xdist
python-toml