gnu: python-awkward-cpp: Relax dependency on python-scikit-build-core.

* gnu/packages/python-xyz.scm (python-awkward-cpp)[arguments]: Add phase
'relax-requirements.

Change-Id: I3d4f647f6e5eecd343de4219baf20c6e38a2a5a0
This commit is contained in:
Ricardo Wurmus 2025-01-01 17:24:54 +01:00
parent 34a279e0da
commit 4592ba3d6a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -440,6 +440,17 @@ loop.")
(sha256 (sha256
(base32 "1bays82mjyg0clmms0rdaf1jrdyr0pw5njq8v9kgcan8drcpbvf1")))) (base32 "1bays82mjyg0clmms0rdaf1jrdyr0pw5njq8v9kgcan8drcpbvf1"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
;; TODO: Remove this on python-team branch.
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
(("scikit-build-core..0.10")
"scikit-build-core")
(("^minimum-version =.*") "")))))))
(propagated-inputs (list python-numpy)) (propagated-inputs (list python-numpy))
(native-inputs (native-inputs
(list cmake pybind11 python-pytest python-scikit-build-core)) (list cmake pybind11 python-pytest python-scikit-build-core))