summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-06 22:04:39 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:21:56 +0100
commitee5e65c98d0f45c464e35fcac24782a6c26a6e68 (patch)
tree404162d99554254c253dc10a79af71a4028ee71d /gnu
parent9b5ca72a37a41fe95153ce4ca8eff6e5e448e748 (diff)
gnu: python-pysm3: Relax requirements for NumPy and SciPy.
* gnu/packages/astronomy.scm (python-pysm3): [phases] {relax-requirements}: New phase. Change-Id: I856c43fe9aa7d83cdb9fc71aa8687bf6648e0ba6 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index abd91931029..e1f581cc0ba 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7798,7 +7798,12 @@ natively in Siril.")
"tests")
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'set-version
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("scipy < 1.15") "scipy")
+ (("numpy < 2") "numpy")))) ; no constain on master branch
+ (add-before 'build 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs