guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

55/59: gnu: python-bbknn: Update to 1.6.0.


From: guix-commits
Subject: 55/59: gnu: python-bbknn: Update to 1.6.0.
Date: Tue, 16 Jan 2024 05:24:35 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit b5bc6c38dc8563361eb9962e450f88591c2fc925
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 12 08:52:54 2024 +0100

    gnu: python-bbknn: Update to 1.6.0.
    
    * gnu/packages/bioinformatics.scm (python-bbknn): Update to 1.6.0.
    [arguments]: Remove phase 'do-not-fail-to-find-sklearn.
    [propagated-inputs]: Add python-pynndescent.
    [native-inputs]: Add python-flit-core.
    
    Change-Id: I5fca2d6ca52e54eb7650b3bb24a34a0aa47b1782
---
 gnu/packages/bioinformatics.scm | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4eef211b86..09a4efeadf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -16571,36 +16571,34 @@ million cells.")
 (define-public python-bbknn
   (package
     (name "python-bbknn")
-    (version "1.5.1")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "bbknn" version))
        (sha256
         (base32
-         "0q11xdmjr2kf6f179a6kjizj3lllfrq743gslgw67qyzimvrrnhn"))))
-    (build-system python-build-system)
+         "06q43cpi7wi6f2d2jqs8f9rbd94pg1hh7978gm92mi9gvzbaj08w"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f ; no tests are included
-       #:phases
-       (modify-phases %standard-phases
+     (list
+      #:tests? #f                       ;no tests are included
+      #:phases
+      '(modify-phases %standard-phases
          ;; Numba needs a writable dir to cache functions.
          (add-before 'check 'set-numba-cache-dir
            (lambda _
-             (setenv "NUMBA_CACHE_DIR" "/tmp")))
-         (add-after 'unpack 'do-not-fail-to-find-sklearn
-           (lambda _
-             ;; XXX: I have no idea why it cannot seem to find sklearn.
-             (substitute* "setup.py"
-               (("'sklearn'") "")))))))
+             (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
     (propagated-inputs
      (list python-annoy
            python-cython
            python-numpy
            python-pandas
+           python-pynndescent
            python-scikit-learn
            python-scipy
            python-umap-learn))
+    (native-inputs (list python-flit-core))
     (home-page "https://github.com/Teichlab/bbknn";)
     (synopsis "Batch balanced KNN")
     (description "BBKNN is a batch effect removal tool that can be directly



reply via email to

[Prev in Thread] Current Thread [Next in Thread]