gnu: python-healpy: Update to 1.18.0.

* gnu/packages/astronomy.scm (python-healpy): Update to 1.18.0.
[arguments] <phases>: Remove 'build-extensions, add 'pre-check and
delete conftest.py causing tests to fail.

Change-Id: I1293ed04b578f0525d9f862c049bc76038583184
This commit is contained in:
Sharlatan Hellseher 2024-12-18 21:05:19 +00:00
parent de90506258
commit 422e8be0f2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2649,16 +2649,13 @@ (define-public python-hasasia
(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
;; <https://github.com/healpy/healpy/issues/949>.
(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 @@ (define-public python-healpy
(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