summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 18:43:27 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:37 +0100
commit35911068deda26f4589d44a0ede12f15eb1b073c (patch)
treef33b42a5abad812088aa04d4c871ea2419397fb4 /gnu/packages
parentb0c2a54a3426f840b502a914bd391467696c4786 (diff)
gnu: python-liana-py: Update to 1.8.1.
* gnu/packages/bioinformatics.scm (python-liana-py): Update to 1.8.1. [arguments] <#:test-flags>: Rework sipped/ignored tests. [propagated-inputs]: Remove python-hypothesis, python-ipykernel, python-ipython, python-nbconvert, python-nbsphinx, python-numpy, python-pandas, python-pypandoc, python-scipy, python-statsmodels, and tzdata; add python-numba, python-docrep, python-session-info2, python-pandas-2, python-gseapy, python-kneed, python-mofapy2, python-mofax, and python-muon.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm137
1 files changed, 55 insertions, 82 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7b76603530b..1077de67587 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3049,97 +3049,70 @@ servers supporting the protocol.")
3049(define-public python-liana-py 3049(define-public python-liana-py
3050 (package 3050 (package
3051 (name "python-liana-py") 3051 (name "python-liana-py")
3052 (version "1.6.1") 3052 (version "1.8.1")
3053 (source (origin 3053 (source
3054 (method git-fetch) 3054 (origin
3055 (uri (git-reference 3055 (method git-fetch)
3056 (url "https://github.com/saezlab/liana-py") 3056 (uri (git-reference
3057 (commit version))) 3057 (url "https://github.com/saezlab/liana-py")
3058 (file-name (git-file-name name version)) 3058 (commit (string-append "v" version))))
3059 (sha256 3059 (file-name (git-file-name name version))
3060 (base32 3060 (sha256
3061 "0cd4gdb55xhn3brqd69zbj1ddz1kipj4hihzzri9nmv8flffw96d")))) 3061 (base32 "1ff6y0lkmh4arlrir2c6957dlj6sa1aixwx36322gh827bbjl80i"))))
3062 (build-system pyproject-build-system) 3062 (build-system pyproject-build-system)
3063 (arguments 3063 (arguments
3064 (list 3064 (list
3065 ;; tests: 75 passed, 24 deselected, 577 warnings 3065 ;; tests: 165 passed, 11 deselected, 714 warnings
3066 #:test-flags 3066 #:test-flags
3067 '(list "-k" 3067 ;; Network access is required for these tests.
3068 ;; These tests require internet access. 3068 #~(list "--deselect=tests/test_generate_lr.py::test_generate_lr_resource"
3069 (string-append "not test_generate_lr_resource" 3069 (string-append "--deselect=tests/test_generate_lr.py"
3070 " and not test_get_hcop" 3070 "::test_generate_nondefault_lr_resource")
3071 " and not test_get_metalinks" 3071 "--deselect=tests/test_metalinksdb.py::test_get_metalinks"
3072 " and not test_get_metalinks_values" 3072 "--deselect=tests/test_metalinksdb.py::test_get_metalinks_values"
3073 " and not test_describe_metalinks" 3073 "--deselect=tests/test_metalinksdb.py::test_describe_metalinks"
3074 " and not test_generate_nondefault_lr_resource" 3074 "--deselect=tests/test_orthology.py::test_translate_resource"
3075 " and not test_translate_resource" 3075 "--deselect=tests/test_orthology.py::test_get_hcop"
3076 ;; Minor accuracy difference 3076 ;; Tests depending on python-corneto.
3077 " and not test_bivar_morans_perms" 3077 "--deselect=tests/test_causalnet.py::test_build_prior_network"
3078 ;; Items are not equal: 3078 "--deselect=tests/test_causalnet.py::test_caulsalnet"
3079 ;; ACTUAL: np.float64(1802.3329624189018) 3079 "--deselect=tests/test_causalnet.py::test_causalnet_noweights"
3080 ;; DESIRED: 1802.332962418902 3080 ;; A task has failed to un-serialize.
3081 " and not test_mdata_transformations" 3081 "--deselect=tests/test_sc_methods.py::test_geometric_mean")
3082 " and not test_get_spatial_connectivities"
3083 ;; XXX "local_scores" array has wrong type.
3084 ;; See https://github.com/saezlab/liana-py/issues/147
3085 " and not test_morans_analytical"
3086 " and not test_cosine_permutation"
3087 " and not test_jaccard_pval_none_cats"
3088 " and not test_large_adata"
3089 ;; XXX ligand column differs: the left column
3090 ;; contains duplicates.
3091 " and not test_liana_pipe_not_defaults"
3092 " and not test_liana_pipe_defaults"
3093 ;; XXX unclear failure: 'coo_matrix' object is not
3094 ;; subscriptable
3095 " and not test_bivar_product"
3096 ;; XXX unclear failure: large difference in data
3097 ;; frames.
3098 " and not test_aggregate_res"
3099 ;; XXX: ValueError: Only CSR and CSC matrices are
3100 ;; supported.
3101 " and not test_bivar_nondefault"
3102 " and not test_masked_spearman"
3103 " and not test_vectorized_spearman"
3104 " and not test_basic_interpolation"
3105 " and not test_different_methods"
3106 " and not test_fill_value"
3107 " and not test_use_raw_layer_parameters")
3108 ;; These need the optional squidpy, which we don't have yet.
3109 "--ignore=tests/test_misty.py"
3110 ;; These need the optional corneto.
3111 "--ignore=tests/test_causalnet.py"
3112 ;; Needs internet access.
3113 "--ignore=tests/test_orthology.py")
3114 #:phases 3082 #:phases
3115 '(modify-phases %standard-phases 3083 #~(modify-phases %standard-phases
3116 ;; Numba needs a writable directory to cache functions. 3084 ;; Numba needs a writable directory to cache functions.
3117 (add-before 'build 'set-numba-cache-dir 3085 (add-before 'build 'set-numba-cache-dir
3118 (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp")))))) 3086 (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
3119 (propagated-inputs (list python-anndata
3120 python-cell2cell
3121 python-decoupler
3122 python-hypothesis
3123 python-ipykernel
3124 python-ipython
3125 python-mudata
3126 python-nbconvert
3127 python-nbsphinx
3128 python-numpy
3129 python-omnipath
3130 python-pandas
3131 python-plotnine
3132 python-pypandoc
3133 python-scipy
3134 python-requests
3135 python-scanpy
3136 python-statsmodels
3137 python-tqdm
3138 tzdata))
3139 (native-inputs 3087 (native-inputs
3140 (list python-hatchling 3088 (list python-hatchling
3141 python-numpydoc 3089 python-numpydoc
3142 python-pytest)) 3090 python-pytest))
3091 (propagated-inputs
3092 (list python-anndata
3093 python-mudata
3094 python-scanpy
3095 python-numba
3096 python-tqdm
3097 python-docrep
3098 python-plotnine
3099 python-session-info2
3100 ;; See: <https://github.com/saezlab/liana-py/issues/244>.
3101 python-pandas-2
3102 ;; [optional]
3103 python-cell2cell
3104 ;; python-corneto ;not packaged yet in Guix
3105 ;; python-cvxpy-base ;not packaged yet in Guix
3106 python-decoupler
3107 python-gseapy
3108 python-kneed
3109 python-mofapy2
3110 python-mofax
3111 python-muon
3112 python-omnipath
3113 ;; python-pydeseq2 ;not packaged yet in Guix
3114 ;; python-pyscipopt ;not packaged yet in Guix
3115 python-requests))
3143 (home-page "https://github.com/saezlab/liana-py") 3116 (home-page "https://github.com/saezlab/liana-py")
3144 (synopsis "LIANA is a ligand-receptor analysis framework") 3117 (synopsis "LIANA is a ligand-receptor analysis framework")
3145 (description "This is a Ligand-Receptor inference framework. The 3118 (description "This is a Ligand-Receptor inference framework. The