From 3327c568bbbe4c376f477b22d3f8eb95acd02ded Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Tue, 17 Feb 2026 22:54:20 +0100 Subject: [PATCH] gnu: python-hierarc: Update to python-hierarc@1.2.0-0.6c33217. * gnu/packages/astronomy.scm (python-hierarc): Update to 6c33217a49c69b9c132280e83b9c6be185a3b94c commit. [propagated-inputs]: Remove python-astropy-6; add python-astropy. [native-inputs]: Remove python-wheel. [description]: Fix spelling. Relates-to: https://codeberg.org/guix/guix/issues/6371#issuecomment-10558598 Merges: https://codeberg.org/guix/guix/pulls/6517 Change-Id: I2cc754c16433fd9123353e06c17645da9fbcd113 Reviewed-by: Yan Abu Arab Signed-off-by: Sharlatan Hellseher --- gnu/packages/astronomy.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 1f217643ef..370959872d 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5811,16 +5811,21 @@ scheme and builds with the HEALPix C++ library.") (define-public python-hierarc (package (name "python-hierarc") - (version "1.2.0") + ;; Latest commit works with AstroPy 7 and NumPy 2. + (properties '((commit . "6c33217a49c69b9c132280e83b9c6be185a3b94c") + (revision . "0"))) + (version (git-version "1.2.0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method git-fetch) ;no tests data in the PyPI archive + (method git-fetch) (uri (git-reference (url "https://github.com/sibirrer/hierArc") - (commit (string-append "v" version)))) + (commit (assoc-ref properties 'commit)))) (file-name (git-file-name name version)) (sha256 - (base32 "02078a745hrb3m8fj739rwzk4wwxrfk40sr4yvs722aj5xk8j00w")))) + (base32 "0lz3w8san0n3p0hkid4g6jfr5703wcmzvd08h76z15k0w9qpf1wn")))) (build-system pyproject-build-system) (arguments (list @@ -5846,10 +5851,9 @@ scheme and builds with the HEALPix C++ library.") (setenv "NUMBA_CACHE_DIR" "/tmp")))))) (native-inputs (list python-pytest - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs - (list python-astropy-6 + (list python-astropy python-emcee python-h5py python-lenstronomy @@ -5862,9 +5866,9 @@ scheme and builds with the HEALPix C++ library.") (home-page "https://github.com/sibirrer/hierarc") (synopsis "Hierarchical analysis of strong lensing systems") (description - "This package implements a funtionality for hierarchical analysis of + "This package implements functionality for hierarchical analysis of strong lensing systems to infer lens properties and cosmological parameters -simultaneously. It allows to fit lenses with measured time delays, imaging +simultaneously. It allows fitting lenses with measured time delays, imaging information, kinematics constraints and standardizable magnifications with parameters described on the ensemble level.") (license license:bsd-3)))