From 0d78581ee6482cda8b27cf37c2259f4f650d1772 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 29 Dec 2025 23:49:48 +0000 Subject: [PATCH] gnu: python-coolbox: Update to 0.3.9. * gnu/packages/bioinformatics.scm (python-coolbox): Update to 0.3.9. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments] : Enable them. : Delete 'sanity-check. [inputs]: Remove pybind11. [propagated-inputs]: Remove python-pybbi, python-pytest, and python-termcolor. [native-inputs]: Add pybind11, python-pytest, python-pypairix, python-pybbi, python-setuptools, and samtools. Change-Id: I356fa043a18e7901e50b15f2815f84178cf4e969 Signed-off-by: Rutherther --- gnu/packages/bioinformatics.scm | 50 ++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 221faa529adbeaa5d4b61efa1e9040e4aee3c7df..7f72ddf6ad3c012e96a3324aa894ee041fea9541 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -23950,38 +23950,60 @@ e.g. from GenBank or Gff files, or Biopython SeqRecords.") (define-public python-coolbox (package (name "python-coolbox") - (version "0.3.8") + ;; TODO: Newer versions depend on python-polars, see + ;; . + (version "0.3.9") (source (origin - (method url-fetch) - (uri (pypi-uri "coolbox" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/GangCaoLab/CoolBox") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0gqp76285w9klswr47y6kxbzwhv033b26jfa179kccfhiaq5p2xa")))) - (build-system python-build-system) - (arguments '(#:tests? #false)) ; there are none - (inputs - (list pybind11)) + (base32 "1a9h0xrg7issgprzm6awabfw73ddm2910rqcvcfg5v0cfn599aws")))) + (build-system pyproject-build-system) + (arguments + (list + ;; tests: 29 passed, 7 deselected, 17 warnings + #:test-flags + ;; XXX: Maybe there is a build problem with python-pypairix? + ;; FileNotFoundError: [Errno 2] No such file or directory: 'pairix' + #~(list "--deselect=tests/test_browser.py::test_browser" + "--deselect=tests/test_coverage.py::test_arcs_coverage" + "--deselect=tests/test_frame.py::test_frame" + "--deselect=tests/test_track.py::test_bedpe" + "--deselect=tests/test_track.py::test_pairs" + "--deselect=tests/test_track.py::test_arcs") + #:phases + #~(modify-phases %standard-phases + ;; FIXME: Some issue with checking the correct versions of Jupyter + ;; dependencies. + (delete 'sanity-check)))) + (native-inputs + (list pybind11 + python-pytest + python-pypairix + python-pybbi + python-setuptools + samtools)) (propagated-inputs - (list python-cooler + (list jupyter + python-cooler python-dna-features-viewer python-fire python-h5py python-intervaltree python-ipywidgets - jupyter python-matplotlib python-nbformat python-numpy python-numpydoc python-pandas - python-pybbi - python-pytest python-scipy python-statsmodels python-strawc python-svgutils - python-termcolor python-voila)) (home-page "https://github.com/GangCaoLab/CoolBox") (synopsis "Genomic data visualization toolkit")