guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 1420e17594e1f8630d414f8cbed7b4f75f73c797
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 5 13:52:00 2026 +0000

    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
---
 gnu/packages/bioinformatics.scm | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 15e3f8b314..c9b6da13d2 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

Reply via email to