[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/64: gnu: python-biom-format: Untangle from python-scikit-bio.
From: |
guix-commits |
Subject: |
48/64: gnu: python-biom-format: Untangle from python-scikit-bio. |
Date: |
Thu, 2 May 2024 10:52:36 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit f8a821603fe7dc127a4f74b4ac571b29581979d0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 1 00:30:39 2024 +0200
gnu: python-biom-format: Untangle from python-scikit-bio.
* gnu/packages/bioinformatics.scm (python-biom-format)[arguments]: Add phase
'pandas-compatibility; disable tests that need sciki-bio.
[propagated-inputs]: Remove python-scikit-bio.
Change-Id: Ifd528d256a1c75962fb05aef5602edbf67a5af26
---
gnu/packages/bioinformatics.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8cae47a9da..4b6d85dfba 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2935,6 +2935,11 @@ use-case, we encourage users to compose functions to
achieve their goals.")
'(modify-phases %standard-phases
(add-after 'unpack 'use-cython
(lambda _ (setenv "USE_CYTHON" "1")))
+ (add-after 'unpack 'pandas-compatibility
+ (lambda _
+ (substitute* "biom/tests/test_table.py"
+ (("import pandas.util.testing")
+ "import pandas.testing"))))
(add-after 'unpack 'disable-broken-tests
(lambda _
(substitute* "biom/tests/test_util.py"
@@ -2944,6 +2949,24 @@ use-case, we encourage users to compose functions to
achieve their goals.")
m)))
(substitute* "biom/tests/test_table.py"
(("^(.+)def test_from_hdf5_issue_731" m indent)
+ (string-append indent
+ "@npt.dec.skipif(True, msg='Guix')\n"
+ m))
+ ;; Unclear why this one fails. There is no backtrace.
+ (("^(.+)def test_to_dataframe_is_sparse" m indent)
+ (string-append indent
+ "@npt.dec.skipif(True, msg='Guix')\n"
+ m))
+ ;; These need skbio, but that neeeds biom-format.
+ (("^(.+)def test_align_tree_intersect_obs" m indent)
+ (string-append indent
+ "@npt.dec.skipif(True, msg='Guix')\n"
+ m))
+ (("^(.+)def test_align_tree_intersect_tips" m indent)
+ (string-append indent
+ "@npt.dec.skipif(True, msg='Guix')\n"
+ m))
+ (("^(.+)def test_align_tree_sample" m indent)
(string-append indent
"@npt.dec.skipif(True, msg='Guix')\n"
m))))))))
@@ -2955,7 +2978,7 @@ use-case, we encourage users to compose functions to
achieve their goals.")
python-h5py
python-numpy
python-pandas
- python-scikit-bio
+ ;;python-scikit-bio ;mutually recursive dependency
python-scipy))
(native-inputs
(list python-cython python-pytest python-pytest-cov python-nose))
- 32/64: gnu: python-pandas-2: Fix version., (continued)
- 32/64: gnu: python-pandas-2: Fix version., guix-commits, 2024/05/02
- 36/64: gnu: apache-arrow: Build with ORC., guix-commits, 2024/05/02
- 39/64: gnu: python-dask: Update to 2024.4.2., guix-commits, 2024/05/02
- 41/64: gnu: Add python-dask-expr., guix-commits, 2024/05/02
- 42/64: gnu: python-distributed: Update to 2024.4.2., guix-commits, 2024/05/02
- 43/64: gnu: Add python-scikit-build-core., guix-commits, 2024/05/02
- 44/64: gnu: Add python-awkward-cpp., guix-commits, 2024/05/02
- 45/64: gnu: Add python-awkward., guix-commits, 2024/05/02
- 46/64: gnu: Add python-array-api-compat., guix-commits, 2024/05/02
- 47/64: gnu: python-anndata: Update to 0.10.7., guix-commits, 2024/05/02
- 48/64: gnu: python-biom-format: Untangle from python-scikit-bio.,
guix-commits <=
- 50/64: gnu: python-pandas-stubs: Update tests., guix-commits, 2024/05/02
- 49/64: gnu: python-scikit-bio: Update to 0.6.0., guix-commits, 2024/05/02
- 51/64: gnu: python-tabulate: Enable tests and fix version string., guix-commits, 2024/05/02
- 52/64: gnu: python-numpy: Update to 1.26.0., guix-commits, 2024/05/02
- 53/64: Revert "gnu: python-numpy: Update to 1.26.0.", guix-commits, 2024/05/02
- 54/64: gnu: python-dask: Disable all tokenize tests., guix-commits, 2024/05/02
- 56/64: gnu: python-umap-learn: Update to 0.5.6., guix-commits, 2024/05/02
- 59/64: gnu: python-dask: Disable some tests., guix-commits, 2024/05/02
- 58/64: gnu: python-dask: Propagate python-dask-expr., guix-commits, 2024/05/02
- 62/64: gnu: tadbit: Update to 1.0.1-2.2838129., guix-commits, 2024/05/02