From 9d660798bd5af0b8fed6ab28e4675e5f4bde400f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 29 Dec 2025 14:47:42 +0000 Subject: [PATCH] gnu: python-scikit-bio: Update to 0.7.1.post1. * gnu/packages/bioinformatics.scm (python-scikit-bio): Update to 0.7.1.post1. [arguments] : Use 'custom, run all tests. : Remove 'build-extensions; use default 'check; add 'remove-local-source. [propagated-inputs]: Remove python-hdmedians; add python-array-api-compat, python-patsy, and python-statsmodels. [native-inputs]: Remove python-coverage; add python-cython and python-setuptools. Change-Id: I460ba8dd7362f5d4bbf16a5923403ecbf5fc2026 Signed-off-by: Rutherther --- gnu/packages/bioinformatics.scm | 42 +++++++++++++++------------------ 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 42a18fafabc42457478cd42df7293b5b45d5c9bb..db20d741052e3e982909e3df87f92e369dd6844a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -6832,44 +6832,40 @@ and record oriented data modeling and the Semantic Web.") (define-public python-scikit-bio (package (name "python-scikit-bio") - (version "0.6.0") + (version "0.7.1.post1") (source (origin (method url-fetch) - (uri (pypi-uri "scikit-bio" version)) + (uri (pypi-uri "scikit_bio" version)) (sha256 (base32 - "03y1n91p6m44hhxm3rpb355j6ddalydz49s94h85kbhm7iy5l40h")))) + "15czagyilqxj68ivqi9slnz2brs0nn4a18swx8vjhj8inwc29nfb")))) (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; Accuracy problem - '(list "-k" (string-append "not test_fisher_alpha" - ;; UNEXPECTED EXCEPTION: ValueError("could - ;; not convert string to float: 'gut'") - " and not skbio.diversity")) + ;; tests: 3336 passed, 105 skipped, 73 warnings + #:test-backend #~'custom + #:test-flags #~(list "-m" "skbio.test") #:phases - '(modify-phases %standard-phases - (add-before 'check 'build-extensions - (lambda _ - ;; Cython extensions have to be built before running the tests. - (invoke "python3" "setup.py" "build_ext" "--inplace"))) - (replace 'check - (lambda* (#:key tests? test-flags #:allow-other-keys) - (when tests? - (apply invoke "python3" "-m" "skbio.test" test-flags))))))) + #~(modify-phases %standard-phases + (add-before 'check 'remove-local-source + (lambda _ + (delete-file-recursively "skbio")))))) + (native-inputs + (list python-cython + python-pytest + python-setuptools)) (propagated-inputs - (list python-biom-format + (list python-array-api-compat + python-biom-format python-decorator python-h5py - python-hdmedians python-natsort python-numpy python-pandas + python-patsy python-requests - python-scipy)) - (native-inputs - (list python-coverage python-pytest)) + python-scipy + python-statsmodels)) (home-page "https://scikit-bio.org") (synopsis "Data structures, algorithms and educational resources for bioinformatics") (description