diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-14 21:15:31 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-30 15:10:43 +0000 |
commit | 47fba206882d6cb5d8b4122721e539377e207afb (patch) | |
tree | 3ba8c1a126be9a85ff4513f872a6f5661d92399c | |
parent | bdc72d7590f9b19b4a1d30ae08c31ca68440fbde (diff) |
gnu: python-asdf-astropy: Update to 0.7.0.
* gnu/packages/astronomy.scm (python-asdf-astropy): Update to 0.7.0.
[source]: Adjust the name of package as it changed in PyPI.
[phases]{relax-requirements}: New phase.
Change-Id: I84fbbc2d7612d192f662e60011fa9925021d128d
-rw-r--r-- | gnu/packages/astronomy.scm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index eb4f278802..e076f44971 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1647,21 +1647,28 @@ implementation of the ASDF Standard.") (define-public python-asdf-astropy (package (name "python-asdf-astropy") - (version "0.6.1") + (version "0.7.0") (source (origin (method url-fetch) - (uri (pypi-uri "asdf-astropy" version)) + (uri (pypi-uri "asdf_astropy" version)) (sha256 - (base32 "1ipjpjiirycj2npicbp39ka7db61vx45j8dm2iis71g5l1rzkblp")))) + (base32 "0985bhmhnjzlf8n78r1i1dfhbvq167xqz0667kg3jm0l2177b0f9")))) (build-system pyproject-build-system) (arguments (list #:test-flags #~(list "--numprocesses" (number->string (parallel-job-count))) - #:phases #~(modify-phases %standard-phases - (add-before 'check 'set-home-env - (lambda _ (setenv "HOME" "/tmp")))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + ;; numpy>=1.24, all tests passed successfuly. Scheduled for + ;; update in python-team. + ((">=1.24") ">=1.23")))) + (add-before 'check 'set-home-env + (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs (list python-coverage python-h5py |