diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-07 13:09:26 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:31 +0100 |
| commit | febeb7db4fdbb5314a16b6c4119658155e86f214 (patch) | |
| tree | 062fef121f1792d7db72bc7020f5c3a6958cad24 /gnu/packages | |
| parent | 766360529ba43a88a3244d42c25c05b8b9c3a126 (diff) | |
gnu: python-muon: Update to 0.1.7-0.05d3bf1.
* gnu/packages/bioinformatics.scm (python-muon): Update to
05d3bf11f55ccc656e2f10a1466e185b0302aa52 commit.
[arguments] <#:test-flags>: Rework skipped tests.
[propagated-inputs]: Remove python-numpy-1; add python-numpy.
[native-inputs]: Add nss-certs-for-test.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 85 |
1 files changed, 48 insertions, 37 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5c5b2738a5e..ec65c2cb4a0 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -6042,54 +6042,65 @@ subgroups.") | |||
| 6042 | (define-public python-muon | 6042 | (define-public python-muon |
| 6043 | (package | 6043 | (package |
| 6044 | (name "python-muon") | 6044 | (name "python-muon") |
| 6045 | (version "0.1.7") | 6045 | ;; 0.1.7 (2024-10-30); the latest changes provide compatibility with NumPy |
| 6046 | ;; 2 and Pandas 3. | ||
| 6047 | (properties '((commit . "05d3bf11f55ccc656e2f10a1466e185b0302aa52") | ||
| 6048 | (revision . "0"))) | ||
| 6049 | (version (git-version "0.1.7" | ||
| 6050 | (assoc-ref properties 'revision) | ||
| 6051 | (assoc-ref properties 'commit))) | ||
| 6046 | (source | 6052 | (source |
| 6047 | (origin | 6053 | (origin |
| 6048 | (method git-fetch) | 6054 | (method git-fetch) |
| 6049 | (uri (git-reference | 6055 | (uri (git-reference |
| 6050 | (url "https://github.com/scverse/muon") | 6056 | (url "https://github.com/scverse/muon") |
| 6051 | (commit (string-append "v" version)))) | 6057 | (commit (assoc-ref properties 'commit)))) |
| 6052 | (file-name (git-file-name name version)) | 6058 | (file-name (git-file-name name version)) |
| 6053 | (sha256 | 6059 | (sha256 |
| 6054 | (base32 | 6060 | (base32 "14hhz3150m0vg4iwr73b0cxkw45jmn3z94wxs75q64dj5f62ghpw")))) |
| 6055 | "0lahc3r0sqqkifibjm090dpkwila3jfh967hldw2nm8wgj81ak82")))) | ||
| 6056 | (build-system pyproject-build-system) | 6061 | (build-system pyproject-build-system) |
| 6057 | (arguments | 6062 | (arguments |
| 6058 | (list | 6063 | (list |
| 6064 | ;; tests: 32 passed, 4 deselected, 333 warnings | ||
| 6059 | #:test-flags | 6065 | #:test-flags |
| 6060 | '(list "-k" (string-join | 6066 | #~(list |
| 6061 | ;; Even providing a random seed, scipy.sparse.rand produces | 6067 | ;; Failed: assert -1.6939765212353823 == -1.719391 ± 1.7e-06 |
| 6062 | ;; inconsistent results across scipy versions. | 6068 | "--deselect=tests/test_muon_tools.py::TestMOFA2D::test_multi_group" |
| 6063 | (list"not test_tfidf" | 6069 | ;; Network access is required. |
| 6064 | ;; Tests fails with error: FileNotFoundError: [Errno | 6070 | (string-append "--deselect=tests/test_muon_preproc.py" |
| 6065 | ;; 2] No such file or directory. | 6071 | "::TestInPlaceFiltering" |
| 6066 | "test_filter_obs_with_obsm_obsp" | 6072 | "::test_filter_obs_with_obsm_obsp") |
| 6067 | "test_filter_var_with_varm_varp") | 6073 | (string-append "--deselect=tests/test_muon_preproc.py" |
| 6068 | " and not ")) | 6074 | "::TestInPlaceFiltering" |
| 6075 | "::test_filter_var_with_varm_varp")) | ||
| 6069 | #:phases | 6076 | #:phases |
| 6070 | '(modify-phases %standard-phases | 6077 | #~(modify-phases %standard-phases |
| 6071 | ;; Numba needs a writable dir to cache functions. | 6078 | ;; Numba needs a writable dir to cache functions. |
| 6072 | (add-before 'build 'set-numba-cache-dir | 6079 | (add-before 'build 'set-numba-cache-dir |
| 6073 | (lambda _ | 6080 | (lambda _ |
| 6074 | (setenv "NUMBA_CACHE_DIR" "/tmp")))))) | 6081 | (setenv "NUMBA_CACHE_DIR" "/tmp")))))) |
| 6075 | (propagated-inputs (list python-anndata | 6082 | (native-inputs |
| 6076 | python-h5py | 6083 | (list nss-certs-for-test |
| 6077 | python-matplotlib | 6084 | python-flit-core |
| 6078 | python-mofapy2 | 6085 | python-pytest)) |
| 6079 | python-mudata | 6086 | (propagated-inputs |
| 6080 | python-numba | 6087 | (list python-anndata |
| 6081 | python-numpy-1 | 6088 | python-h5py |
| 6082 | python-pandas | 6089 | python-matplotlib |
| 6083 | python-protobuf | 6090 | python-mudata |
| 6084 | python-pybedtools | 6091 | python-numba |
| 6085 | python-pysam | 6092 | python-numpy |
| 6086 | python-scanpy | 6093 | python-pandas |
| 6087 | python-scikit-learn | 6094 | python-protobuf |
| 6088 | python-seaborn | 6095 | python-scanpy |
| 6089 | python-tqdm | 6096 | python-scikit-learn |
| 6090 | python-umap-learn)) | 6097 | python-seaborn |
| 6091 | (native-inputs (list python-flit-core | 6098 | python-tqdm |
| 6092 | python-pytest)) | 6099 | python-umap-learn |
| 6100 | ;; [optional] | ||
| 6101 | python-mofapy2 | ||
| 6102 | python-pybedtools | ||
| 6103 | python-pysam)) | ||
| 6093 | (home-page "https://github.com/scverse/muon") | 6104 | (home-page "https://github.com/scverse/muon") |
| 6094 | (synopsis "Multimodal omics analysis framework") | 6105 | (synopsis "Multimodal omics analysis framework") |
| 6095 | (description "muon is a multimodal omics Python framework.") | 6106 | (description "muon is a multimodal omics Python framework.") |
