From 422e8be0f287602238ea34c58eeade73680365ef Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 18 Dec 2024 21:05:19 +0000 Subject: [PATCH] gnu: python-healpy: Update to 1.18.0. * gnu/packages/astronomy.scm (python-healpy): Update to 1.18.0. [arguments] : Remove 'build-extensions, add 'pre-check and delete conftest.py causing tests to fail. Change-Id: I1293ed04b578f0525d9f862c049bc76038583184 --- gnu/packages/astronomy.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 79f67e8a8946613a85a60d4c4e82e5f3cc23281d..d2b83314261fcc767971d8393742785b3413a8ff 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2649,16 +2649,13 @@ sensitivity or energy density (define-public python-healpy (package (name "python-healpy") - ;; The latest version depends on custom fork of HEALPix with changes not - ;; ported to upstream yet, see - ;; . - (version "1.16.6") + (version "1.18.0") (source (origin (method url-fetch) (uri (pypi-uri "healpy" version)) (sha256 - (base32 "1w99cgszh2mzcn5x8p0gdzn3r96vyfdnvbwm20a1l9fdiy16xcha")))) + (base32 "12ajn55kjgnqadyamh6cw4q8i01nyv6isgf47lcnv2jch27zs4ka")))) (build-system pyproject-build-system) (arguments (list @@ -2675,8 +2672,9 @@ sensitivity or energy density (lambda _ (substitute* "pyproject.toml" (("--doctest-plus") "")))) - (add-before 'check 'build-extensions + (add-before 'check 'pre-check (lambda _ + (delete-file "lib/healpy/conftest.py") (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list nss-certs-for-test