diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-06 10:14:34 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:36 +0100 |
| commit | e539135b3e60ca8555bbf807aaf8a5a630b8752d (patch) | |
| tree | 216ddca082228bd73a4b04f9a448a8b2db82d270 | |
| parent | 2e3d4f16d4add7abb3cc7195b058b0b3ab8df3da (diff) | |
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
| -rw-r--r-- | gnu/packages/python-xyz.scm | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 163859388c3..a9dc41d1ac9 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 |
