diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-02-03 23:33:33 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-04 20:44:48 +0000 |
| commit | 84cab85dbc305869ddcd05fb58f78719ebf306cc (patch) | |
| tree | b8044a6f97292ed01888e5c312cae4ddede595a5 | |
| parent | e64ad323b546fd82b29acfe94dbb167fb47d3894 (diff) | |
gnu: python-pysm3: Update to 3.4.3-0.7e5980e.
* gnu/packages/astronomy.scm (python-pysm3): Update to
7e5980e18a03aac9adf0eea09ef94b8e359a7fe0 commit.
[source]: Switch to git-fetch.
[arguments]<#:phases>: Update relax-requirements and set-version phases.
[propagated-inputs]: Remove python-numpy-1; add python-numpy.
Change-Id: Ic0930a276b1144dcefcd7b018dc0d7fd78d5bb6d
Reviewed-by: Reza Housseini <reza@housseini.me>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/astronomy.scm | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 4d371c9a20d..806caaf8f25 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -8107,16 +8107,21 @@ natively in Siril.") (define-public python-pysm3 (package (name "python-pysm3") - (version "3.4.3") + ;; NumPy2 support was added after 3.4.4 was released. + (properties '((commit . "7e5980e18a03aac9adf0eea09ef94b8e359a7fe0") + (revision . "0"))) + (version (git-version "3.4.3" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/galsci/pysm") - (commit version))) + (commit (assoc-ref properties 'commit)))) (file-name (git-file-name name version)) (sha256 - (base32 "1qi01g71m0biqchdy1v7sk54kg1w3s75qfbf2s50ifsmprajjs5r")))) + (base32 "03d4dn79741j7acgma4ida8q6ps4xf5d4mpfv22rl3f1s8fbfx6y")))) (build-system pyproject-build-system) (arguments (list @@ -8175,10 +8180,11 @@ natively in Siril.") (add-after 'unpack 'relax-requirements (lambda _ (substitute* "pyproject.toml" - (("scipy < 1.15") "scipy")))) + (("scipy.* < 1.15") "scipy")))) (add-before 'build 'set-version (lambda _ - (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" + #$(version-major+minor+point version))))))) (native-inputs (list nss-certs-for-test python-hatch-vcs @@ -8196,7 +8202,7 @@ natively in Siril.") python-h5py python-healpy-1.18 python-numba - python-numpy-1 + python-numpy python-scipy python-toml)) (home-page "https://pysm3.readthedocs.io/") |
