* [bug#59113] [PATCH 2/9] gnu: Add asdf-unit-schemas
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas Sharlatan Hellseher
` (6 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf-unit-schemas): New variable.
---
gnu/packages/astronomy.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 92a807a9a5..56eb9143b1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2052,6 +2052,28 @@ (define python-asdf-coordinates-schemas
install an implementation package such as asdf-astropy.")
(license license:bsd-3)))
+(define python-asdf-unit-schemas
+ (package
+ (name "python-asdf-unit-schemas")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "asdf_unit_schemas" version))
+ (sha256
+ (base32
+ "16grpx3a9h0v1wirp0zqrfsxm867v5c0xyr98pylzziy45kqvds2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Dependencies cycle with python-asdf
+ (list #:tests? #f))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-asdf-standard python-importlib-resources))
+ (home-page "https://asdf-unit-schemas.readthedocs.io/")
+ (synopsis "ASDF serialization schemas for the units defined by @code{astropy.units}")
+ (description "This package provides ASDF schemas for validating unit tags.")
+ (license license:bsd-3)))
+
(define-public python-asdf-astropy
(package
(name "python-asdf-astropy")
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 2/9] gnu: Add asdf-unit-schemas Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 4/9] gnu: Add asdf-time-schemas Sharlatan Hellseher
` (5 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf-fits-schemas): New variable.
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 56eb9143b1..b07bef73b8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2052,6 +2052,40 @@ (define python-asdf-coordinates-schemas
install an implementation package such as asdf-astropy.")
(license license:bsd-3)))
+(define python-asdf-fits-schemas
+ ;; TODO: No release, change to tag when it's ready.
+ (let ((commit "572bb370d777f3a325b25c1af9d76e1b7d27dcea")
+ (revision "0"))
+ (package
+ (name "python-asdf-fits-schemas")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asdf-format/asdf-fits-schemas")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yqnzd0gcrdfl0jqm8m8kz5fd36i8lgh7xkglmp1chsi1cc6mkz2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Dependencies cycle with python-asdf
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-asdf-standard python-importlib-resources))
+ (home-page "https://github.com/asdf-format/asdf-fits-schemas")
+ (synopsis "ASDF schemas to support the FITS format")
+ (description "This package provides ASDF schemas for validating FITS tags.")
+ (license license:bsd-3))))
+
(define python-asdf-unit-schemas
(package
(name "python-asdf-unit-schemas")
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 4/9] gnu: Add asdf-time-schemas
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 2/9] gnu: Add asdf-unit-schemas Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0 Sharlatan Hellseher
` (4 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf-time-schemas): New variable.
---
gnu/packages/astronomy.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b07bef73b8..ca1740f852 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2086,6 +2086,42 @@ (define python-asdf-fits-schemas
(description "This package provides ASDF schemas for validating FITS tags.")
(license license:bsd-3))))
+(define python-asdf-time-schemas
+ ;; TODO: No release, change to tag when it's ready.
+ (let ((commit "e9174083d9cfd3c6f7ded9eeb360d99ccb8d9d18")
+ (revision "2"))
+ (package
+ (name "python-asdf-time-schemas")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asdf-format/asdf-time-schemas")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1i40hcxp8sds2zq939fwczjlshfqb9r9pnzy3a44c3wqdbwhcbdb"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Dependencies cycle with python-asdf
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-asdf-standard
+ python-asdf-unit-schemas
+ python-importlib-resources))
+ (home-page "https://github.com/asdf-format/asdf-fits-schemas")
+ (synopsis "Schemas for storing time in ASDF")
+ (description "This package provides ASDF schemas for validating time tags.")
+ (license license:bsd-3))))
+
(define python-asdf-unit-schemas
(package
(name "python-asdf-unit-schemas")
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
` (2 preceding siblings ...)
2022-11-07 23:06 ` [bug#59113] [PATCH 4/9] gnu: Add asdf-time-schemas Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 6/9] gnu: python-asdf: Update to 2.13.0 Sharlatan Hellseher
` (3 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf-transform-schemas): Update to 0.3.0.
[build-system]: Use new pyproject-build-system
[tests]: Disable tests, to prevent cycle with python-asdf package.
[native-inputs]: Remove python-pytest and python-semantic-version.
[propagated-inputs]: Remove python-asdf. Add python-asdf-standard,
python-importlib-resources.
---
gnu/packages/astronomy.scm | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ca1740f852..a8c51338ac 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1990,28 +1990,19 @@ (define-public python-asdf-standard
(define python-asdf-transform-schemas
(package
(name "python-asdf-transform-schemas")
- (version "0.2.0")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_transform_schemas" version))
(sha256
- (base32 "1gmzd81hw4ppsvzrc91wcbjpcw9hhv9gavllv7nyi7qjb54c837g"))))
- (build-system python-build-system)
+ (base32 "1midgn575970p5cnsh9y6bz77fjr392b5nfxb3z0id6c49xzzwhc"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest")))))))
- (native-inputs
- (list python-pytest
- python-semantic-version
- python-setuptools-scm))
- (propagated-inputs
- (list python-asdf))
+ ;; Dependencies cycle with python-asdf
+ (list #:tests? #f))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-asdf-standard python-importlib-resources))
(home-page "https://github.com/asdf-format/asdf-transform-schemas")
(synopsis "ASDF schemas for transforms")
(description
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 6/9] gnu: python-asdf: Update to 2.13.0
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
` (3 preceding siblings ...)
2022-11-07 23:06 ` [bug#59113] [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0 Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 7/9] gnu: python-asdf: Sync test disable comment Sharlatan Hellseher
` (2 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf): Update to 2.13.0
[build-system]: Use pyproject-build-system
[native-inputs]: Add python-astropy, python-psutil, python-pytest,
python-pytest-doctestplus, python-pytest-openfiles,
python-pytest-remotedata, python-semantic-version
[propagated-inputs]: Add python-asdf-standard,
python-asdf-transform-schemas, python-asdf-unit-schemas
python-importlib-metadata, python-jsonschema-next, python-lz4.
Remove python-jsonschema.
---
gnu/packages/astronomy.scm | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a8c51338ac..a9bd687e66 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -55,6 +55,7 @@ (define-module (gnu packages astronomy)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
+ #:use-module (gnu packages python-compression)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -1916,26 +1917,37 @@ (define-public python-suntime
(define-public python-asdf
(package
(name "python-asdf")
- (version "2.8.3")
+ (version "2.13.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf" version))
(sha256
- (base32 "0i4vq1hsympjgb1yvn4ql0gm8j1mki9ggmj03533kmg0nbzp03yy"))))
- (build-system python-build-system)
+ (base32 "1zixzv4n2fryaszsfchqh2nvp0gzvarhz03fc721yw6iafdadqij"))))
+ (build-system pyproject-build-system)
(arguments
;; NOTE: (Sharlatan-20211229T201059+0000): Tests depend on astropy and
;; gwcs, astropy gwcs depend on asdf. Disable circular dependence.
`(#:tests? #f))
(native-inputs
- (list python-setuptools-scm
+ (list python-astropy
+ python-packaging
+ python-psutil
+ python-pytest
+ python-pytest-doctestplus
+ python-pytest-openfiles
+ python-pytest-remotedata
python-semantic-version
- python-packaging))
+ python-setuptools-scm))
(propagated-inputs
- (list python-importlib-resources
- python-jsonschema
+ (list python-asdf-standard
+ python-asdf-transform-schemas
+ python-asdf-unit-schemas
+ python-importlib-metadata
+ python-importlib-resources
python-jmespath
+ python-jsonschema-next
+ python-lz4
python-numpy
python-pyyaml))
(home-page "https://github.com/asdf-format/asdf")
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 7/9] gnu: python-asdf: Sync test disable comment
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
` (4 preceding siblings ...)
2022-11-07 23:06 ` [bug#59113] [PATCH 6/9] gnu: python-asdf: Update to 2.13.0 Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2 Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2 Sharlatan Hellseher
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy (python-asdf): Sync comments emailing the
reason of disabled tests. python-astropy does not depends on python-asdf
any longer but test keep failing due to multiple reasons.
---
gnu/packages/astronomy.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a9bd687e66..cc46006865 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1926,8 +1926,11 @@ (define-public python-asdf
(base32 "1zixzv4n2fryaszsfchqh2nvp0gzvarhz03fc721yw6iafdadqij"))))
(build-system pyproject-build-system)
(arguments
- ;; NOTE: (Sharlatan-20211229T201059+0000): Tests depend on astropy and
- ;; gwcs, astropy gwcs depend on asdf. Disable circular dependence.
+ ;; FIXME: Tests fail a lot with
+ ;;
+ ;; ERROR - _pytest.pathlib.ImportPathMismatchError:
+ ;; ('asdf.conftest', '/gnu/sto...
+ ;;
`(#:tests? #f))
(native-inputs
(list python-astropy
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
` (5 preceding siblings ...)
2022-11-07 23:06 ` [bug#59113] [PATCH 7/9] gnu: python-asdf: Sync test disable comment Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2 Sharlatan Hellseher
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-asdf-astropy): Update to 0.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove redundant.
---
gnu/packages/astronomy.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index cc46006865..ead5c39f46 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2153,22 +2153,20 @@ (define python-asdf-unit-schemas
(define-public python-asdf-astropy
(package
(name "python-asdf-astropy")
- (version "0.1.2")
+ (version "0.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_astropy" version))
(sha256
- (base32 "0bzgah7gskvnz6jcrzipvzixv8k2jzjkskqwxngzwp4nxgjbcvi4"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest")))))))
+ (base32 "1b0v4cl7xvly3x1k5k2rvc2l32jqgqp0iyf1j20fkvj450sx74f2"))))
+ (build-system pyproject-build-system)
+ ;; Starting from v0.2.0 the test suite contains massive set of unit tests.
+ ;; It takes 4+ minutes to pass all of them with a lot of warnings
+ ;; but tests are completed successfully in the end:
+ ;;
+ ;; 4065 passed, 8146 warnings in 271.78s (0:04:31)
+ ;;
(native-inputs
(list python-coverage
python-h5py
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [bug#59113] [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
` (6 preceding siblings ...)
2022-11-07 23:06 ` [bug#59113] [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2 Sharlatan Hellseher
@ 2022-11-07 23:06 ` Sharlatan Hellseher
7 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2022-11-07 23:06 UTC (permalink / raw)
To: 59113; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-gwcs): Fix build and update to 0.18.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove redundant.
[native-inputs]: Use python-jsonschema-next over python-jsonschema to
fix tests failing to run due to python-asdf issue with low version of
jsonschema, see https://github.com/asdf-format/asdf/pull/1203.
---
gnu/packages/astronomy.scm | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ead5c39f46..b820494407 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2226,24 +2226,16 @@ (define python-asdf-wcs-schemas
(define-public python-gwcs
(package
(name "python-gwcs")
- (version "0.18.0")
+ (version "0.18.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "gwcs" version))
(sha256
- (base32 "194j49m8xjjzv9pp8cnj06igz8sdxb0nphyybcc7mhigw0f0kr30"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest")))))))
+ (base32 "0v9qcq6zl74d6s882s6xmas144jfalvll6va8rvrxmvpx4vqjzhg"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-jsonschema
+ (list python-jsonschema-next
python-jmespath
python-pytest
python-pytest-doctestplus
--
2.38.0
^ permalink raw reply related [flat|nested] 16+ messages in thread