[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/28: gnu: python-asdf: Update to 3.0.0.
From: |
guix-commits |
Subject: |
25/28: gnu: python-asdf: Update to 3.0.0. |
Date: |
Sun, 5 Nov 2023 13:16:32 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 7995a474eab286a0eb05b065716ecd026a681d56
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Oct 27 23:15:02 2023 +0100
gnu: python-asdf: Update to 3.0.0.
* gnu/packages/astronomy.scm (python-asdf-3.0): New variable, migrated
from python-asdf.
[arguments]: Move it from here ...
[native-inputs]: Remove python-astronomy, python-pytest-openfiles.
[propagated-inputs]: Add python-attrs. Remove
python-importlib-resources, python-jsonschema.
(python-asdf-2.15): New variable. Inherited from python-asdf-3.0.
[arguments]: ... to here.
(python-asdf): Set it to use python-asdf-2.15 as 3.0.0 includes some
breaking changes which may not testes in dependent projects.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/astronomy.scm | 48 +++++++++++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index fb0583e7f6..47913a1282 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3769,32 +3769,23 @@ between image and reference catalogs. Currently only
aligning images with
@code{FITS WCS} and @code{JWST gWCS} are supported.")
(license license:bsd-3)))
-(define-public python-asdf
+(define-public python-asdf-3.0
(package
(name "python-asdf")
- (version "2.15.0")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf" version))
(sha256
- (base32 "11s56797l5330kkhppkyz0bsvms016knmyswj4gx91zrxf8iqvv8"))))
+ (base32 "1a6lf75q9w8fsyq3hn6a7fyldkkyqxddlq21fwdfjwij40dzh3s8"))))
(build-system pyproject-build-system)
- (arguments
- (list #:test-flags
- #~(list "-k" (string-append
- "not test_overwrite"
- " and not test_tagging_scalars"
- " and not test_info_command"
- " and not test_array_inline_threshold_recursive"))))
(native-inputs
- (list python-astropy
- python-fsspec
+ (list python-fsspec
python-packaging
python-psutil
python-pytest
python-pytest-doctestplus
- python-pytest-openfiles
python-pytest-remotedata
python-semantic-version
python-setuptools-scm))
@@ -3802,10 +3793,9 @@ between image and reference catalogs. Currently only
aligning images with
(list python-asdf-standard
python-asdf-transform-schemas
python-asdf-unit-schemas
+ python-attrs ;; for vendorized jsonschema
python-importlib-metadata
- python-importlib-resources
python-jmespath
- python-jsonschema
python-lz4
python-numpy
python-pyyaml))
@@ -3817,6 +3807,34 @@ interchange format for scientific data. This package
contains the Python
implementation of the ASDF Standard.")
(license license:bsd-3)))
+(define-public python-asdf-2.15
+ (package
+ (inherit python-asdf-3.0)
+ (version "2.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "asdf" version))
+ (sha256
+ (base32 "11s56797l5330kkhppkyz0bsvms016knmyswj4gx91zrxf8iqvv8"))))
+ (arguments
+ (list #:test-flags
+ #~(list "-k" (string-append
+ "not test_overwrite"
+ " and not test_tagging_scalars"
+ " and not test_info_command"
+ " and not test_array_inline_threshold_recursive"))))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-asdf-3.0)
+ (prepend python-astropy python-pytest-openfiles)))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-asdf-3.0)
+ (prepend python-jsonschema python-importlib-resources)))))
+
+(define-public python-asdf
+ ;; Default version of ASDF..
+ python-asdf-2.15)
+
(define-public python-asdf-standard
(package
(name "python-asdf-standard")
- 05/28: gnu: sbcl-cl-webkit: Update to 3.5.10., (continued)
- 05/28: gnu: sbcl-cl-webkit: Update to 3.5.10., guix-commits, 2023/11/05
- 06/28: gnu: font-google-noto: Update to 23.11.1., guix-commits, 2023/11/05
- 08/28: gnu: imppg: Use standard configure phase., guix-commits, 2023/11/05
- 13/28: gnu: python-astroalign: Update to 2.5.0., guix-commits, 2023/11/05
- 14/28: gnu: erfa: Update to 2.0.1., guix-commits, 2023/11/05
- 17/28: gnu: python-astropy: Update to 5.3.4., guix-commits, 2023/11/05
- 20/28: gnu: python-ephem: Update to 4.1.5., guix-commits, 2023/11/05
- 23/28: gnu: python-pytest-doctestplus: Update to 1.0.0., guix-commits, 2023/11/05
- 26/28: gnu: emacs-semi-epg: Update to 1.14.6-247.d15603b., guix-commits, 2023/11/05
- 22/28: gnu: python-pytest-remotedata: Update to 0.4.1., guix-commits, 2023/11/05
- 25/28: gnu: python-asdf: Update to 3.0.0.,
guix-commits <=
- 15/28: gnu: python-pyerfa: Update to 2.0.1.1., guix-commits, 2023/11/05
- 19/28: gnu: python-crds: Update to 11.17.7., guix-commits, 2023/11/05
- 21/28: gnu: python-jwst: Update to 1.12.5., guix-commits, 2023/11/05
- 24/28: gnu: python-pytest-astropy: Update to 0.11.0., guix-commits, 2023/11/05
- 28/28: gnu: phantomsocks: Update to 0.0.0-20231031033204-8b0ac27fc450., guix-commits, 2023/11/05
- 18/28: gnu: python-cdflib: Update to 1.2.3., guix-commits, 2023/11/05
- 27/28: gnu: emacs-wanderlust: Update to 2.15.9-803.3e8cf26., guix-commits, 2023/11/05