[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)
- branch core-updates-frozen updated (f2b99e3 -> 6db3c53), guix-commits, 2021/12/05
- 01/07: gnu: velvet: Remove trailing #T., guix-commits, 2021/12/05
- 03/07: gnu: python-bbknn: Add missing input., guix-commits, 2021/12/05
- 04/07: gnu: python-bbknn: Fix sanity-check phase.,
guix-commits <=
- 02/07: gnu: velvet: Add missing TeX package., guix-commits, 2021/12/05
- 06/07: gnu: Remove python2-plastid., guix-commits, 2021/12/05
- 05/07: gnu: Remove python2-twobitreader., guix-commits, 2021/12/05
- 07/07: gnu: python-bwapy: Remove sanity-check., guix-commits, 2021/12/05