summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-05 13:52:00 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:59 +0100
commitbc70d27edc22ccdac70289babdf28432ce1fec6e (patch)
tree2ba2044669a7fd3f547e3cedd020c01e7e5eb0d4 /gnu/packages
parent189b7542de884baaa5c1a01c6ba9642ea1172823 (diff)
gnu: python-ikarus: Update to 0.0.3.
* gnu/packages/bioinformatics.scm (python-ikarus): Update to 0.0.3. Use G-Expressions. [arguments] <test-backend, test-flags>: Use custom. <phases>: Remove 'fix-issue-12; reallocate 'set-numba-cache-dir. [native-inputs]: Remove python-wheel. Change-Id: I4bf1b5bbda56373fd632f31aca59d473ab37252a
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm39
1 files changed, 19 insertions, 20 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 15e3f8b3145..c9b6da13d24 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -22139,35 +22139,34 @@ single-cell RNA-seq data.")
(define-public python-ikarus
(package
(name "python-ikarus")
- (version "0.0.2")
+ (version "0.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ikarus" version))
(sha256
- (base32 "086czpvj4yafz4vrq5rx2gy0bj2l8nzwnkk0gw8qvy4w133xjysy"))))
+ (base32 "1nzhy1a4mnr23wnxg7sy0pgyydfiavvk8b53cyxh1z8s6wqq1yqj"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f
- #:phases (modify-phases %standard-phases
- ;; See https://github.com/BIMSBbioinfo/ikarus/issues/12
- (add-after 'unpack 'fix-issue-12
- (lambda _
- (substitute* "ikarus/classifier.py"
- (("pyscenic.genesig")
- "ctxcore.genesig"))))
- ;; Numba needs a writable dir to cache functions.
- (add-before 'check 'set-numba-cache-dir
- (lambda _
- (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
- (propagated-inputs (list python-numpy
+ (list
+ #:test-backend #~'custom
+ #:test-flags
+ ;; There are no actual tests, it is a step from GitHub Actions.
+ #~(list "-c" "'from ikarus import classifier, utils, data'")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Numba needs a writable dir to cache functions.
+ (add-before 'build 'set-numba-cache-dir
+ (lambda _
+ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
+ (propagated-inputs (list pyscenic
+ python-anndata
+ python-ctxcore
+ python-numpy
python-pandas
- python-scipy
python-scanpy
- python-anndata
- python-ctxcore ;because of issue 12
- pyscenic))
- (native-inputs (list python-setuptools python-wheel))
+ python-scipy))
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/BIMSBbioinfo/ikarus")
(synopsis "Machine learning classifier of tumor cells")
(description