sharlatan pushed a commit to branch python-team
in repository guix.
commit 04500c8c526448f913da6958073d87dcf5ff04b0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 7 20:39:22 2024 +0000
gnu: python-scikit-fem: Update to 10.0.2.
* gnu/packages/python-science.scm (python-scikit-fem): Update to
10.0.2. Improve style.
[arguments]<test-flags>: Skip some failing tests.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I4efe9f0e93d315c7b979bf3160fa5a3a97ab2115
---
gnu/packages/python-science.scm | 36 ++++++++++++++++++++++++------------
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b7f63dea3e..638d49b097 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -441,23 +441,35 @@ CMake.")
(define-public python-scikit-fem
(package
(name "python-scikit-fem")
- (version "9.0.1")
- (source (origin
- (method git-fetch) ; no tests in PyPI
- (uri (git-reference
- (url "https://github.com/kinnala/scikit-fem")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1r1c88rbaa7vjfnljbzx8paf36yzpy33bragl99ykn6i2srmjrd4"))))
+ (version "10.0.2")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/kinnala/scikit-fem")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10kvzm4fmazsrddd83m0903wan67fkj13vdp6w1iw6wm6a0b5h28"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-meshio python-numpy python-scipy))
+ (arguments
+ (list
+ #:test-flags #~(list
+ ;; Tests require Jax.
+ "--ignore=tests/test_autodiff.py"
+ "--ignore=tests/test_examples.py")))
(native-inputs
(list python-autograd
python-pyamg
+ ;; python-jax ; not packed yet
python-pytest
- python-shapely))
+ python-shapely
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-meshio
+ python-numpy
+ python-scipy))
(home-page "https://scikit-fem.readthedocs.io/en/latest/")
(synopsis "Library for performing finite element assembly")
(description