guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 3c97a41bce93c51dd11845114fef65363e74deb0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 4 21:24:25 2026 +0000
gnu: python-pyamg: Update to 5.3.0.
* gnu/packages/python-science.scm (python-pyamg): Update to 5.3.0.
[arguments] <test-flags>: Remove local source instead in phase..
<phases>: Add 'pre-check.
[native-inputs]: Remove python-wheel.
Change-Id: I3f231c1201013b4cbc7a8fbda14937aa0685827e
---
gnu/packages/python-science.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1455f4c347..fc9482a311 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2449,7 +2449,7 @@ different units.")
(define-public python-pyamg
(package
(name "python-pyamg")
- (version "5.0.1")
+ (version "5.3.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pyamg" version))
@@ -2471,12 +2471,10 @@ different units.")
"tests/bind_examples_bind.cpp"))))
(sha256
(base32
- "0l3dliwynxyjvbgpmi2k8jqvkkw6fc00c8w69h6swhrkfh0ql12z"))))
+ "02w6xy3i0qcpsfc64zw8k15mi6qykq65h3d98vi9p6fdlkqx08sk"))))
(arguments
(list
- #:test-flags
- ;; Test installed package in order to find C++ modules.
- #~(list "--pyargs" "pyamg.tests")
+ ;; tests: 40 passed, 1 skipped
#:phases
#~(modify-phases %standard-phases
;; Regenerate the autogenerated files.
@@ -2491,7 +2489,11 @@ different units.")
(("/usr/bin/env python3") (which "python3")))
(invoke "sh" "generate.sh"))
(with-directory-excursion "pyamg/amg_core/tests"
- (invoke "python" "bindthem.py" "bind_examples.h")))))))
+ (invoke "python" "bindthem.py" "bind_examples.h"))))
+ (add-before 'check 'pre-check
+ (lambda _
+ (copy-recursively "pyamg/tests" "tests")
+ (delete-file-recursively "pyamg"))))))
(build-system pyproject-build-system)
(native-inputs
(list pybind11
@@ -2499,9 +2501,10 @@ different units.")
python-pytest
python-pyyaml
python-setuptools
- python-setuptools-scm
- python-wheel))
- (propagated-inputs (list python-numpy python-scipy))
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-numpy
+ python-scipy))
(home-page "https://github.com/pyamg/pyamg")
(synopsis "Algebraic Multigrid Solvers in Python")
(description "PyAMG is a Python library of Algebraic Multigrid