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

commit a14e8f32f969cb730abd413a676b76d9198fa929
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 27 16:12:05 2025 +0100

    build-system/pyproject: Using autoload for (json) module.
    
    This allows to avoid the `with-extensions` everywhere.
    
    * guix/build/pyproject-build-system.scm: Using autoload for (json)
    module.
    
    Change-Id: Ie31579b377df34688a2cd4959f517b734eff5ffa
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 guix/build/pyproject-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/pyproject-build-system.scm 
b/guix/build/pyproject-build-system.scm
index 446d867d34..2f02127c34 100644
--- a/guix/build/pyproject-build-system.scm
+++ b/guix/build/pyproject-build-system.scm
@@ -18,6 +18,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (guix build pyproject-build-system)
+  #:autoload (json builder) (scm->json-string)
   #:use-module ((guix build gnu-build-system) #:prefix gnu:)
   #:use-module (guix build utils)
   #:use-module (guix build toml)
@@ -26,7 +27,6 @@
   #:use-module (ice-9 format)
   #:use-module (ice-9 rdelim)
   #:use-module (ice-9 regex)
-  #:use-module (json)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-34)

Reply via email to