diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-05 12:19:10 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:58 +0100 |
| commit | eb4298794905cd6eb115f421b9b61a533e7c1c78 (patch) | |
| tree | df0ccc06f497e95e3d1c3799015daee78cad61c7 /gnu | |
| parent | e012430a92f41e8978e444a147118725efce4881 (diff) | |
gnu: python-celltypist: Update to 1.7.1.
* gnu/packages/bioinformatics.scm (python-celltypist): Update to 1.7.1.
[arguments] <tests?>: Enable simple runtime regression check.
<phases>: Remove 'set-home and 'set-numba-cache-dir; add
'set-environment; use custom 'check phase.
[native-inputs]: Remove python-wheel; add python-setuptools.
Change-Id: I7ec16da8c6d3af8ad0d8eb96d5f9b50d9858eae3
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 12ba7f61554..15e3f8b3145 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2548,30 +2548,33 @@ from high-throughput single-cell RNA sequencing (scRNA-seq) data.") (define-public python-celltypist (package (name "python-celltypist") - (version "1.6.2") + (version "1.7.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/Teichlab/celltypist") - (commit version))) + (url "https://github.com/Teichlab/celltypist") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0c42cx01zkxr0dk5f1d7q71qdi18v2smlc3wpvwyjlzplya7k2iy")))) + (base32 "1ha19wak8lnbm2j929lswncswygl1qiv53b8fs321s6708gyhv4v")))) (build-system pyproject-build-system) (arguments (list - #:tests? #false ;there are none #:phases - '(modify-phases %standard-phases - (add-before 'check 'set-home - ;; The sanity check requires a HOME directory, because celltypist - ;; wants to write settings. - (lambda _ (setenv "HOME" "/tmp"))) - ;; Numba needs a writable dir to cache functions. - (add-before 'build 'set-numba-cache-dir - (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp")))))) + #~(modify-phases %standard-phases + (add-before 'build 'set-environment + (lambda _ + (setenv "HOME" "/tmp") + (setenv "NUMBA_CACHE_DIR" "/tmp"))) + (replace 'check + ;; Simple regression check, taken from project's Dockerfile, + ;; "--update-models" requires network access. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "celltypist" "--help"))))))) + (native-inputs + (list python-setuptools)) (propagated-inputs (list python-click python-leidenalg @@ -2581,7 +2584,6 @@ from high-throughput single-cell RNA sequencing (scRNA-seq) data.") python-scanpy python-scikit-learn python-requests)) - (native-inputs (list python-wheel)) (home-page "https://github.com/Teichlab/celltypist") (synopsis "Tool for semi-automatic cell type classification") (description |
