guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit e7aa90b49d53e01db36542a348f867cf7da0befd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jan 7 15:55:16 2026 +0000
gnu: python-pygam: Update to 0.12.0.
* gnu/packages/bioinformatics.scm (python-pygam): Update to 0.12.0.
[arguments] <test-flags>: Skip one test.
<phases>: Remove 'patch-pyproject.
[propagated-inputs]: Remove python-black, python-flake8, python-ipython,
and python-poetry-core.
[native-inputs]: Remove python-pytest-cov; add python-matplotlib and
python-setuptools.
Change-Id: I5b3b95deb2bbe455582d4c74fe672c62b9aa8ff4
---
gnu/packages/bioinformatics.scm | 39 +++++++++++++++++----------------------
1 file changed, 17 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b51bdf072f..0441539417 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3780,7 +3780,7 @@ the managed genomes, STAR indexing and mapping and more.")
(define-public python-pygam
(package
(name "python-pygam")
- (version "0.9.1")
+ (version "0.12.0")
(source
(origin
(method git-fetch)
@@ -3789,30 +3789,25 @@ the managed genomes, STAR indexing and mapping and
more.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1bv404idswsm2ay3yziq1i2cbydq4f3vjav5s4i15bgd13k7zvim"))))
+ (base32 "0xf4hly8cxfj73il6l37bd48gygrmky2kyx9l270f1ivnpz1545a"))))
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'build 'patch-pyproject
- (lambda _
- (substitute* "pyproject.toml"
- ;; Change build backend
- (("build-backend = .*")
- "build-backend = \"poetry.core.masonry.api\"\n")
- ;; Modify version field
- (("^version = \"0.0.0\"")
- (string-append "version = \"" #$version "\""))))))))
- (propagated-inputs (list python-black
- python-flake8
- python-ipython
- python-numpy
- python-pandas
- python-poetry-core
- python-progressbar2
- python-scipy))
- (native-inputs (list python-mock python-pytest python-pytest-cov))
+ ;; tests: 161 passed, 1 skipped, 1 deselected, 7 warnings
+ #:test-flags
+ ;; Assertion is not equal.
+ #~(list (string-append "--deselect=pygam/tests/test_gridsearch.py::"
+ "test_gridsearch_all_dimensions_independent"))))
+ (native-inputs
+ (list python-matplotlib
+ python-mock
+ python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-numpy
+ python-pandas
+ python-progressbar2
+ python-scipy))
(home-page "https://github.com/dswah/pyGAM")
(synopsis "Generalized additive models in Python")
(description