guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/47: gnu: python-asdf: Update to 3.2.0.


From: guix-commits
Subject: 10/47: gnu: python-asdf: Update to 3.2.0.
Date: Tue, 30 Apr 2024 16:42:40 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 51446076cafb375d7115fc455abf813643c322d6
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Apr 16 15:11:44 2024 +0100

    gnu: python-asdf: Update to 3.2.0.
    
    * gnu/packages/astronomy.scm (python-asdf): Update to 3.2.0.
    [arguments] <#:phases>: Replace 'fix-tests-setup with
    'patch-pyprojectct-toml phase and add one more substitution rule.
    [propagated-inputs]: Remove python-asdf-unit-schemas.
    
    Change-Id: I9e7a0282ed0a9eb82a20988762792e10ae33496b
---
 gnu/packages/astronomy.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a558e0bbac..9ca12dd9e9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4418,13 +4418,13 @@ between image and reference catalogs. Currently only 
aligning images with
 (define-public python-asdf
   (package
     (name "python-asdf")
-    (version "3.1.0")
+    (version "3.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "asdf" version))
        (sha256
-        (base32 "0fa6y3gmqc0y3nz0h68vq3a84pvx6gc5zp33wg8a4n9b4kipm464"))))
+        (base32 "1wj556g15gwp6ir5hg083l15sifdsf23giqkx0jbn4lgdwjffbgr"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -4432,12 +4432,15 @@ between image and reference catalogs. Currently only 
aligning images with
       #~(list "-n" "auto" "-p" "no:legacypath")
       #:phases
       #~(modify-phases %standard-phases
-          ;; ImportError: Error importing plugin " no:legacypath": No module
-          ;; named ' no:legacypath'
-          (add-before 'check 'fix-tests-setup
+          (add-after 'unpack 'patch-pypojrect-toml
             (lambda _
               (substitute* "pyproject.toml"
-                ((".*:legacypath.*") "")))))))
+                ;; ImportError: Error importing plugin " no:legacypath": No
+                ;; module named ' no:legacypath'
+                ((".*:legacypath.*") "")
+                ;; TypeError: Configuration.__init__() got an unexpected
+                ;; keyword argument 'version_file'
+                (("version_file = \"asdf/_version.py\"") "")))))))
     (native-inputs
      (list python-fsspec
            python-packaging
@@ -4451,7 +4454,6 @@ between image and reference catalogs. Currently only 
aligning images with
     (propagated-inputs
      (list python-asdf-standard
            python-asdf-transform-schemas
-           python-asdf-unit-schemas
            python-attrs ;; for vendorized jsonschema
            python-importlib-metadata
            python-jmespath



reply via email to

[Prev in Thread] Current Thread [Next in Thread]