From 1228b3134f102438b65f49ac0edcb128df8129a7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 7 Nov 2024 20:39:22 +0000 Subject: 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]: 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(-) (limited to 'gnu') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 63f11d9ca7..1a80da17d4 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 -- cgit v1.2.3