guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit e006c033ea3a988f588190a2c6e1ee9a53e913c5
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Jul 16 11:20:56 2025 +0100

    gnu: python-astunparse: Switch to pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-astunparse):
      [build-system]: Use pyproject.
      [propagated-inputs]: Remove python-wheel.
      [native-inputs]: Add python-setuptools.
    
    Change-Id: I47ca10fc70a1db146f405247940904f2a5df30fe
---
 gnu/packages/python-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 37afb9415a..9ff2708bba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31005,6 +31005,8 @@ source via the Abstract Syntax Tree.")
     (license license:bsd-3)))
 
 (define-public python-astunparse
+  ;; XXX: No updates since 2019, consider to remove when python-pytorch is
+  ;; updated.
   (package
     (name "python-astunparse")
     (version "1.6.3")
@@ -31014,10 +31016,12 @@ source via the Abstract Syntax Tree.")
        (uri (pypi-uri "astunparse" version))
        (sha256
         (base32 "0wh8jjvwafxc7rvbyb13cdwndkicm7cry1bd8p1q9l7has23mnas"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments '(#:tests? #f))          ; there are none
+    (native-inputs
+     (list python-setuptools))
     (propagated-inputs
-     (list python-six python-wheel))
+     (list python-six))
     (home-page "https://github.com/simonpercivall/astunparse";)
     (synopsis "AST unparser for Python")
     (description "This package provides an AST unparser for Python.  It is a

Reply via email to