summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-27 23:20:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:17 +0100
commit46db5b9a0b3fa10f87aeb2f98dda124785b4b4b0 (patch)
treead8d822fa528efcc2a8fea9fd60af82ca160e076 /gnu
parente810e77f565ca1723980d3d52fce0a53e4220422 (diff)
gnu: python-anndata: Update to 0.13.0rc3.
* gnu/packages/python-science.scm (python-anndata): Update to 0.13.0rc3. [arguments] <test-flags> Simplify skipped tests by utilizing "not gpu" marker to ignore all tests requiring CUDA. [propagated-inputs]: Add python-scverse-misc and python-typing-extensions. [native-inputs]: Add python-jsonschema.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-science.scm57
1 files changed, 10 insertions, 47 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 566ca6997e3..ce930c290bd 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -272,7 +272,7 @@ possibility to differentiate functions that contain matrix functions as
272(define-public python-anndata 272(define-public python-anndata
273 (package 273 (package
274 (name "python-anndata") 274 (name "python-anndata")
275 (version "0.12.7") 275 (version "0.13.0rc3")
276 (source 276 (source
277 (origin 277 (origin
278 (method git-fetch) 278 (method git-fetch)
@@ -281,58 +281,18 @@ possibility to differentiate functions that contain matrix functions as
281 (commit version))) 281 (commit version)))
282 (file-name (git-file-name name version)) 282 (file-name (git-file-name name version))
283 (sha256 283 (sha256
284 (base32 "1404x0z37z7xfdzkkafh62amchikrz0ssyc83rn6pv3dd4nn8nid")))) 284 (base32 "0hbnp4pw8wpn2lcds0wa92kb8x4bdkiv76dijg7g4pj0v86qm034"))))
285 (build-system pyproject-build-system) 285 (build-system pyproject-build-system)
286 (arguments 286 (arguments
287 (list 287 (list
288 ;; tests: 4167 passed, 1208 skipped, 12 xfailed, 2225 warnings 288 ;; tests: 6677 passed, 1842 skipped, 195 xfailed, 4842 warnings, 98
289 ;; subtests passed
289 #:test-flags 290 #:test-flags
290 #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) 291 #~(list "-m" "not gpu"
292 "--numprocesses" (number->string (min 8 (parallel-job-count)))
291 ;; XXX: AttributeError: module 'pyarrow.lib' has no attribute 293 ;; XXX: AttributeError: module 'pyarrow.lib' has no attribute
292 ;; 'PyExtensionType' 294 ;; 'PyExtensionType'
293 "--ignore=tests/test_awkward.py" 295 "--ignore=tests/test_awkward.py")
294 ;; These tests require CUDA backed package:
295 ;; <https://github.com/cupy/cupy>.
296 "--deselect=sts/test_views.py::test_view_of_view"
297 #$@(map (lambda (test) (string-append "--deselect="
298 "tests/"
299 test))
300 (list "test_concatenate.py::test_concatenate_layers"
301 "test_concatenate.py::test_concat_different_types_dask"
302 "test_concatenate.py::test_concat_on_var_outer_join"
303 "test_concatenate.py::test_concatenate_layers_misaligned"
304 "test_concatenate.py::test_concatenate_layers_outer"
305 "test_concatenate.py::test_concatenate_roundtrip"
306 "test_concatenate.py::test_error_on_mixed_device"
307 "test_concatenate.py::test_nan_merge"
308 "test_concatenate.py::test_pairwise_concat"
309 "test_concatenate.py::test_transposed_concat"
310 "test_dask.py::test_dask_to_disk_view"
311 "test_dask.py::test_dask_to_memory_unbacked"
312 "test_gpu.py::test_adata_raw_gpu"
313 "test_gpu.py::test_gpu"
314 "test_gpu.py::test_raw_gpu"
315 "test_helpers.py::test_as_cupy_dask"
316 "test_helpers.py::test_as_dask_functions"
317 "test_io_elementwise.py::test_io_spec_cupy"
318 "test_obsmvarm.py::test_1d_declaration"
319 "test_obsmvarm.py::test_1d_set"
320 "test_views.py::test_ellipsis_index"
321 "test_views.py::test_modify_view_component"
322 "test_views.py::test_set_scalar_subset_X"
323 "test_views.py::test_view_different_type_indices"
324 "test_views.py::test_view_of_view"))
325 "-k" (string-join
326 ;; TypeError: _fix_co_filename() argument 2 must be str,
327 ;; not PosixPath
328 (list "not test_hints"
329 ;; ValueError: Cannot convert. CSC format must be
330 ;; 2D. Got 1D
331 "test_backed_modification_sparse[csc_matrix]"
332 ;; Failed: DID NOT WARN. No warnings of type (<class
333 ;; 'FutureWarning'>,) were emitted.
334 "test_old_format_warning_thrown")
335 " and not "))
336 #:phases 296 #:phases
337 #~(modify-phases %standard-phases 297 #~(modify-phases %standard-phases
338 ;; Doctests require scanpy from (gnu packages bioinformatics) 298 ;; Doctests require scanpy from (gnu packages bioinformatics)
@@ -354,6 +314,7 @@ possibility to differentiate functions that contain matrix functions as
354 python-hatch-vcs 314 python-hatch-vcs
355 python-hatchling 315 python-hatchling
356 python-joblib 316 python-joblib
317 python-jsonschema
357 python-loompy 318 python-loompy
358 python-matplotlib 319 python-matplotlib
359 python-openpyxl 320 python-openpyxl
@@ -373,6 +334,8 @@ possibility to differentiate functions that contain matrix functions as
373 python-packaging 334 python-packaging
374 python-pandas 335 python-pandas
375 python-scipy 336 python-scipy
337 python-scverse-misc
338 python-typing-extensions ;Python version < 3.13
376 python-zarr)) 339 python-zarr))
377 (home-page "https://github.com/theislab/anndata") 340 (home-page "https://github.com/theislab/anndata")
378 (synopsis "Annotated data for data analysis pipelines") 341 (synopsis "Annotated data for data analysis pipelines")