mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-specutils: Update to 2.0.0.
* gnu/packages/astronomy.scm (python-specutils): Update to 2.0.0. [arguments] <phases>: Add 'relax-requirements. Change-Id: Ice139b4513535d8b5abb156a9ade76d6bcf0818c
This commit is contained in:
parent
50eb5d91f8
commit
31246a5404
1 changed files with 8 additions and 2 deletions
|
@ -6296,13 +6296,13 @@ of axis order, spatial projections, and spectral units that exist in the wild.
|
|||
(define-public python-specutils
|
||||
(package
|
||||
(name "python-specutils")
|
||||
(version "1.19.0")
|
||||
(version "2.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "specutils" version))
|
||||
(sha256
|
||||
(base32 "1iwkrs436z8xrzwl5rkla8nimyfrx5ydklghm41xgzr27nkvqa12"))))
|
||||
(base32 "0ngq4r7awkbwdbi7a8isj6iw66xk3s26yjp0c0qvl6wvf9hby59r"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -6320,6 +6320,12 @@ of axis order, spatial projections, and spectral units that exist in the wild.
|
|||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "setup.cfg"
|
||||
;; scipy>=1.14.1; all tests passed, it will remove after
|
||||
;; python-team is merged.
|
||||
((">=1.14") ">=1.12.0"))))
|
||||
(add-before 'check 'set-home-env
|
||||
(lambda _
|
||||
;; Tests require HOME to be set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue