guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: python-bbknn: Fix sanity-check phase.


From: guix-commits
Subject: 04/07: gnu: python-bbknn: Fix sanity-check phase.
Date: Sun, 5 Dec 2021 11:39:15 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 4202f4d58a7526953ec1f1f38bcb039b7c10a57e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 5 17:33:17 2021 +0100

    gnu: python-bbknn: Fix sanity-check phase.
    
    * gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase
    'do-not-fail-to-find-sklearn, which prevents the 'sanity-check phase from
    failing.
---
 gnu/packages/bioinformatics.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a93a1fc..965574c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12036,7 +12036,14 @@ million cells.")
          "1jbsh01f57zj4bhvjr3jh4532zznqd6nccmgrl3qi9gnhkf7c4y0"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f)) ; TODO: Enable after migration to scikit-learn.
+     `(#:tests? #f ; no tests are included
+       #:phases
+       (modify-phases %standard-phases
+         (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'") "")))))))
     (propagated-inputs
      `(("python-annoy" ,python-annoy)
        ("python-cython" ,python-cython)



reply via email to

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