gnu: python-scanpy: Update to 1.9.1.
* gnu/packages/bioinformatics.scm (python-scanpy): Update to 1.9.1. [arguments]: Add phase 'set-numba-cache-dir; disable more broken tests. [propagated-inputs]: Add python-dask and python-session-info; replace python-louvain-0.7 with python-louvain.
parent
ca2516f065
commit
0bcd28e58c
|
@ -12248,7 +12248,7 @@ implementation differs in these ways:
|
||||||
(define-public python-scanpy
|
(define-public python-scanpy
|
||||||
(package
|
(package
|
||||||
(name "python-scanpy")
|
(name "python-scanpy")
|
||||||
(version "1.8.2")
|
(version "1.9.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -12258,7 +12258,7 @@ implementation differs in these ways:
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14zax23lqinv7xyv3491vpl3ydi38naiwaxg5mkfs5zk2406cqdr"))))
|
"0k524xnx3dvpz5yx65p316wghvi01zs17is8w2m3w2qywiswk0sl"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -12278,6 +12278,10 @@ implementation differs in these ways:
|
||||||
(invoke "python" "-m" "pip" "install"
|
(invoke "python" "-m" "pip" "install"
|
||||||
wheel (string-append "--prefix=" out)))
|
wheel (string-append "--prefix=" out)))
|
||||||
(find-files "dist" "\\.whl$")))))
|
(find-files "dist" "\\.whl$")))))
|
||||||
|
;; Numba needs a writable dir to cache functions.
|
||||||
|
(add-before 'check 'set-numba-cache-dir
|
||||||
|
(lambda _
|
||||||
|
(setenv "NUMBA_CACHE_DIR" "/tmp")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? inputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
@ -12285,6 +12289,7 @@ implementation differs in these ways:
|
||||||
(delete-file-recursively "scanpy/tests/notebooks")
|
(delete-file-recursively "scanpy/tests/notebooks")
|
||||||
(delete-file "scanpy/tests/test_clustering.py")
|
(delete-file "scanpy/tests/test_clustering.py")
|
||||||
(delete-file "scanpy/tests/test_datasets.py")
|
(delete-file "scanpy/tests/test_datasets.py")
|
||||||
|
(delete-file "scanpy/tests/test_normalization.py")
|
||||||
(delete-file "scanpy/tests/test_score_genes.py")
|
(delete-file "scanpy/tests/test_score_genes.py")
|
||||||
(delete-file "scanpy/tests/test_highly_variable_genes.py")
|
(delete-file "scanpy/tests/test_highly_variable_genes.py")
|
||||||
|
|
||||||
|
@ -12293,6 +12298,9 @@ implementation differs in these ways:
|
||||||
(delete-file "scanpy/tests/test_preprocessing.py")
|
(delete-file "scanpy/tests/test_preprocessing.py")
|
||||||
(delete-file "scanpy/tests/test_read_10x.py")
|
(delete-file "scanpy/tests/test_read_10x.py")
|
||||||
|
|
||||||
|
;; These two fail with "ValueError: I/O operation on closed file."
|
||||||
|
(delete-file "scanpy/tests/test_neighbors_key_added.py")
|
||||||
|
|
||||||
;; TODO: these fail with TypingError and "Use of unsupported
|
;; TODO: these fail with TypingError and "Use of unsupported
|
||||||
;; NumPy function 'numpy.split'".
|
;; NumPy function 'numpy.split'".
|
||||||
(delete-file "scanpy/tests/test_metrics.py")
|
(delete-file "scanpy/tests/test_metrics.py")
|
||||||
|
@ -12318,17 +12326,20 @@ implementation differs in these ways:
|
||||||
" and not test_clustermap"
|
" and not test_clustermap"
|
||||||
|
|
||||||
;; These try to connect to the network
|
;; These try to connect to the network
|
||||||
|
" and not test_scrublet_plots"
|
||||||
" and not test_plot_rank_genes_groups_gene_symbols"
|
" and not test_plot_rank_genes_groups_gene_symbols"
|
||||||
|
" and not test_pca_n_pcs"
|
||||||
" and not test_pca_chunked"
|
" and not test_pca_chunked"
|
||||||
" and not test_pca_sparse"
|
" and not test_pca_sparse"
|
||||||
" and not test_pca_reproducible"))))))))
|
" and not test_pca_reproducible"))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-anndata
|
(list python-anndata
|
||||||
|
python-dask
|
||||||
python-h5py
|
python-h5py
|
||||||
python-igraph
|
python-igraph
|
||||||
python-joblib
|
python-joblib
|
||||||
python-legacy-api-wrap
|
python-legacy-api-wrap
|
||||||
python-louvain-0.7
|
python-louvain
|
||||||
python-matplotlib
|
python-matplotlib
|
||||||
python-natsort
|
python-natsort
|
||||||
python-networkx
|
python-networkx
|
||||||
|
@ -12339,6 +12350,7 @@ implementation differs in these ways:
|
||||||
python-scikit-learn
|
python-scikit-learn
|
||||||
python-scipy
|
python-scipy
|
||||||
python-seaborn
|
python-seaborn
|
||||||
|
python-session-info
|
||||||
python-sinfo
|
python-sinfo
|
||||||
python-statsmodels
|
python-statsmodels
|
||||||
python-tables
|
python-tables
|
||||||
|
|
Reference in New Issue