GNU bug report logs - #59113
[PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Mon, 7 Nov 2022 23:04:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59113 in the body.
You can then email your comments to 59113 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 07 Nov 2022 23:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Mon,  7 Nov 2022 23:02:38 +0000
Hi Guix team!

This is the last series of patches fixing the issue
https://issues.guix.gnu.org/58586.

Thanks to Christopher who pushed https://issues.guix.gnu.org/58530 I am about
to prepare SunPy. I've got in my Sourcehut repository and it passed lint,
build and most of the tests (99.9%)!

> ./pre-inst-env guix build python-asdf  python-asdf-astropy python-asdf-standard python-gwcs --rounds=2
> /gnu/store/42js0gh3lbab0b3vjnx5w8dhw73lbjw2-python-gwcs-0.18.2
> /gnu/store/8b9fgspqxri2gcybsmh71mwji8p1ldnf-python-asdf-standard-1.0.3
> /gnu/store/n615wfm08i4yv17ggvl6il7v12k1p12w-python-asdf-astropy-0.2.2
> /gnu/store/y423ky9wgn0470x7rsqddkgly3cjl158-python-asdf-2.13.0

Sharlatan Hellseher (9):
  gnu: Add asdf-standard
  gnu: Add asdf-unit-schemas
  gnu: Add asdf-fits-schemas
  gnu: Add asdf-time-schemas
  gnu: asdf-transform-schemas: Update to 0.3.0
  gnu: python-asdf: Update to 2.13.0
  gnu: python-asdf: Sync test disable comment
  gnu: asdf-astropy: Update to 0.2.2
  gnu: gwcs: Fix build, update to 0.18.2

 gnu/packages/astronomy.scm | 226 +++++++++++++++++++++++++++++--------
 1 file changed, 178 insertions(+), 48 deletions(-)


base-commit: 8e54584d4448d37ddf8ae995bb545a181ba2493c
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 1/9] gnu: Add asdf-standard
Date: Mon,  7 Nov 2022 23:06:48 +0000
* gnu/packages/astronomy.scm (python-asdf-standard): New variable.
---
 gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dd27f4e530..92a807a9a5 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages astronomy)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -1945,6 +1946,47 @@ (define-public python-asdf
 implementation of the ASDF Standard.")
     (license license:bsd-3)))
 
+(define-public python-asdf-standard
+  (package
+    (name "python-asdf-standard")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "asdf_standard" version))
+       (sha256
+        (base32
+         "0i7xdjwn5prg2hcnf1zhw57mszc68jjr5sv4rimpzcg7f2dgzn5g"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-before 'check 'remove-blocking-tests
+                          (lambda _
+                            ;; Remove tests require python-asdf where
+                            ;; python-asdf require python-asdf-standard,
+                            ;; break circular dependencies.
+                            (for-each delete-file
+                                      (list "tests/test_manifests.py"
+                                            "tests/test_integration.py")))))))
+    (native-inputs (list python-astropy
+                         python-jsonschema-next
+                         python-pypa-build
+                         python-pytest-7.1
+                         python-packaging
+                         python-setuptools-scm))
+    (propagated-inputs (list python-importlib-resources))
+    (home-page "https://asdf-standard.readthedocs.io/")
+    (synopsis "ASDF standard schemas")
+    (description
+     "This package provides Python implementation of @acronym{ASDF, Advanced
+Scientific Data Format} - a proposed next generation interchange format for
+scientific data.  ASDF aims to exist in the same middle ground that made FITS
+so successful, by being a hybrid text and binary format: containing human
+editable metadata for interchange, and raw binary data that is fast to load
+and use.  Unlike FITS, the metadata is highly structured and is designed
+up-front for extensibility.")
+    (license license:bsd-3)))
+
 (define python-asdf-transform-schemas
   (package
     (name "python-asdf-transform-schemas")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 2/9] gnu: Add asdf-unit-schemas
Date: Mon,  7 Nov 2022 23:06:49 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:03 GMT) Full text and rfc822 format available.

Message #14 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 3/9] gnu: Add asdf-fits-schemas
Date: Mon,  7 Nov 2022 23:06:50 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:03 GMT) Full text and rfc822 format available.

Message #17 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 4/9] gnu: Add asdf-time-schemas
Date: Mon,  7 Nov 2022 23:06:51 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:04 GMT) Full text and rfc822 format available.

Message #20 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0
Date: Mon,  7 Nov 2022 23:06:52 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:04 GMT) Full text and rfc822 format available.

Message #23 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 6/9] gnu: python-asdf: Update to 2.13.0
Date: Mon,  7 Nov 2022 23:06:53 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:04 GMT) Full text and rfc822 format available.

Message #26 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 7/9] gnu: python-asdf: Sync test disable comment
Date: Mon,  7 Nov 2022 23:06:54 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:05 GMT) Full text and rfc822 format available.

Message #29 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2
Date: Mon,  7 Nov 2022 23:06:55 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Mon, 07 Nov 2022 23:08:05 GMT) Full text and rfc822 format available.

Message #32 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2
Date: Mon,  7 Nov 2022 23:06:56 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Fri, 18 Nov 2022 22:52:01 GMT) Full text and rfc822 format available.

Message #35 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Christopher Baines <mail <at> cbaines.net>, zimoun <zimon.toutoune <at> gmail.com>
Date: Fri, 18 Nov 2022 22:50:45 +0000
Hi Guix team!

Just a gentle ping on the status of this issue.  It solving build for a long
chain of packages which introduced during recent staging->merge.

Regards,
Oleg


-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Sun, 20 Nov 2022 10:07:02 GMT) Full text and rfc822 format available.

Message #38 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59113 <at> debbugs.gnu.org
Subject: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Sun, 20 Nov 2022 10:02:27 +0000
[Message part 1 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> Just a gentle ping on the status of this issue.  It solving build for a long
> chain of packages which introduced during recent staging->merge.

I did see this, although the information on [1] is a bit confused by the
protobuf-2 problem (that's now been fixed).

1: https://qa.guix.gnu.org/issue/59113

I think there is a significant change though, as it looks like while
this fixes things on x86_64-linux, python-asdf no longer builds on other
architectures due to dependencies failing to build, e.g. python-sgp4 on
aarch64-linux.

I'm still happy to look at merging these changes, but I thought I'd
raise the non x86_64-linux failures with you.

Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Sun, 20 Nov 2022 18:11:02 GMT) Full text and rfc822 format available.

Message #41 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 59113 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Sun, 20 Nov 2022 18:10:28 +0000
[Message part 1 (text/plain, inline)]
Hi Chris,

Thanks for checking it.

If it's posible to merge the chain for x86_64 it would be nice to have at
least one working architecture. Meanwhile I'll check builds for others and
open upstream issues if required.


Regards,
Oleg

On Sun, 20 Nov 2022, 10:06 Christopher Baines, <mail <at> cbaines.net> wrote:

>
> Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:
>
> > Just a gentle ping on the status of this issue.  It solving build for a
> long
> > chain of packages which introduced during recent staging->merge.
>
> I did see this, although the information on [1] is a bit confused by the
> protobuf-2 problem (that's now been fixed).
>
> 1: https://qa.guix.gnu.org/issue/59113
>
> I think there is a significant change though, as it looks like while
> this fixes things on x86_64-linux, python-asdf no longer builds on other
> architectures due to dependencies failing to build, e.g. python-sgp4 on
> aarch64-linux.
>
> I'm still happy to look at merging these changes, but I thought I'd
> raise the non x86_64-linux failures with you.
>
> Chris
>
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Sun, 20 Nov 2022 21:19:02 GMT) Full text and rfc822 format available.

Message #44 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 59113 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Sun, 20 Nov 2022 21:18:13 +0000
Hi,

I've checked current version of python-asdf <at> 2.8.3 and it has no
python-sgp4 as inputs, but python-astropy does which might affect more
larger scale of packages.

Regards,
Oleg

On Sun, 20 Nov 2022 at 18:10, Sharlatan Hellseher <sharlatanus <at> gmail.com> wrote:
>
> Hi Chris,
>
> Thanks for checking it.
>
> If it's posible to merge the chain for x86_64 it would be nice to have at least one working architecture. Meanwhile I'll check builds for others and open upstream issues if required.
>
>
> Regards,
> Oleg
>
> On Sun, 20 Nov 2022, 10:06 Christopher Baines, <mail <at> cbaines.net> wrote:
>>
>>
>> Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:
>>
>> > Just a gentle ping on the status of this issue.  It solving build for a long
>> > chain of packages which introduced during recent staging->merge.
>>
>> I did see this, although the information on [1] is a bit confused by the
>> protobuf-2 problem (that's now been fixed).
>>
>> 1: https://qa.guix.gnu.org/issue/59113
>>
>> I think there is a significant change though, as it looks like while
>> this fixes things on x86_64-linux, python-asdf no longer builds on other
>> architectures due to dependencies failing to build, e.g. python-sgp4 on
>> aarch64-linux.
>>
>> I'm still happy to look at merging these changes, but I thought I'd
>> raise the non x86_64-linux failures with you.
>>
>> Chris



-- 

… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.




Information forwarded to guix-patches <at> gnu.org:
bug#59113; Package guix-patches. (Sun, 20 Nov 2022 22:44:02 GMT) Full text and rfc822 format available.

Message #47 received at 59113 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59113 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Sun, 20 Nov 2022 22:42:45 +0000
Hi,

It might be a known issue in upstream:
https://github.com/brandon-rhodes/python-sgp4/issues/107
I'll try to check what could be wrong.

Regards,
Oleg

On Sun, 20 Nov 2022 at 21:18, Sharlatan Hellseher <sharlatanus <at> gmail.com> wrote:
>
> Hi,
>
> I've checked current version of python-asdf <at> 2.8.3 and it has no
> python-sgp4 as inputs, but python-astropy does which might affect more
> larger scale of packages.
>
> Regards,
> Oleg
>
> On Sun, 20 Nov 2022 at 18:10, Sharlatan Hellseher <sharlatanus <at> gmail.com> wrote:
> >
> > Hi Chris,
> >
> > Thanks for checking it.
> >
> > If it's posible to merge the chain for x86_64 it would be nice to have at least one working architecture. Meanwhile I'll check builds for others and open upstream issues if required.
> >
> >
> > Regards,
> > Oleg
> >
> > On Sun, 20 Nov 2022, 10:06 Christopher Baines, <mail <at> cbaines.net> wrote:
> >>
> >>
> >> Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:
> >>
> >> > Just a gentle ping on the status of this issue.  It solving build for a long
> >> > chain of packages which introduced during recent staging->merge.
> >>
> >> I did see this, although the information on [1] is a bit confused by the
> >> protobuf-2 problem (that's now been fixed).
> >>
> >> 1: https://qa.guix.gnu.org/issue/59113
> >>
> >> I think there is a significant change though, as it looks like while
> >> this fixes things on x86_64-linux, python-asdf no longer builds on other
> >> architectures due to dependencies failing to build, e.g. python-sgp4 on
> >> aarch64-linux.
> >>
> >> I'm still happy to look at merging these changes, but I thought I'd
> >> raise the non x86_64-linux failures with you.
> >>
> >> Chris
>
>
>
> --
>
> … наш разум - превосходная объяснительная машина которая способна
> найти смысл почти в чем угодно, истолковать любой феномен, но
> совершенно не в состоянии принять мысль о непредсказуемости.



-- 

… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Mon, 21 Nov 2022 14:29:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Mon, 21 Nov 2022 14:29:03 GMT) Full text and rfc822 format available.

Message #52 received at 59113-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59113-done <at> debbugs.gnu.org
Subject: Re: [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12
Date: Mon, 21 Nov 2022 14:27:58 +0000
[Message part 1 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> Hi Chris,
>
> Thanks for checking it.
>
> If it's posible to merge the chain for x86_64 it would be nice to have
> at least one working architecture. Meanwhile I'll check builds for
> others and open upstream issues if required.

Sure, I've pushed to master now as
4d05c5fa57fe768e4d2ed760fa3aee05d72becb5 with a few minor changes.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Dec 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.