diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-12-05 17:33:17 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-12-05 17:33:17 +0100 |
commit | 4202f4d58a7526953ec1f1f38bcb039b7c10a57e (patch) | |
tree | eeaa79f748252a9f6da02c2bbb2d31e7b0c3af3b /gnu/packages/bioinformatics.scm | |
parent | b1bd997d508cb28a0abeb781f1dbfb972def50ee (diff) | |
download | guix-4202f4d58a7526953ec1f1f38bcb039b7c10a57e.tar.gz guix-4202f4d58a7526953ec1f1f38bcb039b7c10a57e.zip |
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.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a93a1fc271..965574c128 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) |