From patchwork Mon Jul 22 10:13:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 14737 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0465B17143; Mon, 22 Jul 2019 11:15:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 43A6216F99 for ; Mon, 22 Jul 2019 11:15:07 +0100 (BST) Received: from localhost ([::1]:60206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpVLW-0006BJ-PT for patchwork@mira.cbaines.net; Mon, 22 Jul 2019 06:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57641) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpVLT-0006B0-MZ for guix-patches@gnu.org; Mon, 22 Jul 2019 06:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpVLS-0001sl-Md for guix-patches@gnu.org; Mon, 22 Jul 2019 06:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpVLS-0001rp-Ii for guix-patches@gnu.org; Mon, 22 Jul 2019 06:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpVLS-0007wt-Ai for guix-patches@gnu.org; Mon, 22 Jul 2019 06:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36760] [PATCH 0/3] Switch to Guile-JSON 3.x Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2019 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36760 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36760@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156379044230461 (code B ref -1); Mon, 22 Jul 2019 10:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jul 2019 10:14:02 +0000 Received: from localhost ([127.0.0.1]:59957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpVKR-0007uz-AQ for submit@debbugs.gnu.org; Mon, 22 Jul 2019 06:14:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:52116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpVKO-0007up-53 for submit@debbugs.gnu.org; Mon, 22 Jul 2019 06:13:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56970) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpVKL-0005jL-Bo for guix-patches@gnu.org; Mon, 22 Jul 2019 06:13:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hpVKL-0000ZE-8V; Mon, 22 Jul 2019 06:13:53 -0400 Received: from [2a01:e35:2ffd:930:d5d6:61ca:ae54:d991] (port=41358 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hpVKK-0005Dl-QL; Mon, 22 Jul 2019 06:13:53 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Mon, 22 Jul 2019 12:13:37 +0200 Message-Id: <20190722101337.11764-1-ludo@gnu.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! This is the big switch to Guile-JSON 3.x! As a reminder, Guile-JSON 3.x changes the mapping between JSON data structures and Scheme data structures in an incompatible way compared to 1.x. Essentially, JSON dictionaries now map to alists (instead of hash tables), and JSON arrays map to vectors (instead of lists.) The patch updates all the code in one go, mostly because a single Guile process cannot have two different (json) modules loaded at the same time. When we update the ‘guix’ package, everything that depends on it will also have to be updated to a snapshot that uses Guile-JSON 3.x: cuirass, hpcguix-web, and rcas-web. I count on you, dear reader, to help in those areas. :-) Comments? Ludo’. Ludovic Courtès (3): maint: Switch to Guile-JSON 3.x. gnu: guile-json: Define 'guile-json-1'. gnu: Explicitly refer to 'guile-json-1' when needed. configure.ac | 4 ++-- doc/guix.texi | 2 +- gnu/installer.scm | 4 ++-- gnu/installer/locale.scm | 21 +++++++++-------- gnu/packages/bioinformatics.scm | 2 +- gnu/packages/ci.scm | 2 +- gnu/packages/guile-xyz.scm | 6 ++--- gnu/packages/guile.scm | 4 ++++ gnu/packages/mail.scm | 4 ++-- gnu/packages/package-management.scm | 4 ++-- gnu/packages/web.scm | 2 +- gnu/system/vm.scm | 2 +- guix/docker.scm | 19 ++++++++-------- guix/git-download.scm | 4 ++-- guix/import/cpan.scm | 14 ++++++------ guix/import/crate.scm | 6 ++--- guix/import/gem.scm | 10 ++++++--- guix/import/json.scm | 11 ++------- guix/import/pypi.scm | 8 +++---- guix/import/stackage.scm | 4 ++-- guix/import/utils.scm | 25 +++++---------------- guix/scripts/import/json.scm | 2 +- guix/scripts/pack.scm | 2 +- guix/self.scm | 2 +- guix/swh.scm | 35 ++++++++++++++++------------- m4/guix.m4 | 21 +++++++++++++++++ tests/import-utils.scm | 22 ++++++++++++++++++ 27 files changed, 140 insertions(+), 102 deletions(-)