guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit c9bf5008143c2c95f200fcdff5d0192088fbae8b
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Dec 26 03:57:16 2025 +0100

    build-system: python: Accept pyproject package-with-explicit-python.
    
    * guix/build-system/python.scm (package-with-explicit-python): Accept
    pyproject-build-system resolved lazily.
    
    Change-Id: I6e4186b8a7d2ec17afbf6af7d0f9e709cc55e14b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 guix/build-system/python.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index a51c033d01..8bdf84125a 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -103,7 +103,10 @@ pre-defined variants."
       => force)
 
      ;; Otherwise build the new package object graph.
-     ((eq? (package-build-system p) python-build-system)
+     ((or (eq? (package-build-system p) python-build-system)
+          (eq? (package-build-system p)
+               ;; Resolve lazily.
+               (@* (guix build-system pyproject) pyproject-build-system)))
       (package/inherit p
         (location (package-location p))
         (name (let ((name (package-name p)))

Reply via email to