From unknown Tue Aug 19 10:00:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42206 <42206@debbugs.gnu.org> To: bug#42206 <42206@debbugs.gnu.org> Subject: Status: [PATCH] import: pypi: Handle 'null instead of #nil. Reply-To: bug#42206 <42206@debbugs.gnu.org> Date: Tue, 19 Aug 2025 17:00:59 +0000 retitle 42206 [PATCH] import: pypi: Handle 'null instead of #nil. reassign 42206 guix-patches submitter 42206 Arun Isaac severity 42206 normal tag 42206 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 18:42:00 2020 Received: (at submit) by debbugs.gnu.org; 4 Jul 2020 22:42:00 +0000 Received: from localhost ([127.0.0.1]:59795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrqrA-0002Qm-EL for submit@debbugs.gnu.org; Sat, 04 Jul 2020 18:42:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:58098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrqr7-0002Qd-WD for submit@debbugs.gnu.org; Sat, 04 Jul 2020 18:41:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrqr7-0001z0-OH for guix-patches@gnu.org; Sat, 04 Jul 2020 18:41:57 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:53458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrqr3-0001Bf-IU for guix-patches@gnu.org; Sat, 04 Jul 2020 18:41:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zb6S3BmYdyF+Uig8GeIAnBnvb92I5Zg0RIPDDDrUSrE=; b=fk15Ncwm/eSXm5JvWa2QHhPjTq xsK036NGAuwL+ThEJSXnoPQEOobEHnWKCcul8CK2idWxYOE24bLPV+v1lZCtsHIgamfiMroCOLYYy //+hdUctdeIpNd5DG/7HfCJIqeI40VqaFH3Do9kO44jn+4XzvjxCAHbIVPnqWTA9A09A=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jrqqx-0008wM-0I; Sun, 05 Jul 2020 04:11:47 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] import: pypi: Handle 'null instead of #nil. Date: Sun, 5 Jul 2020 04:11:45 +0530 Message-Id: <20200704224145.5828-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 17:37:28 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * guix/import/pypi.scm (non-empty-string-or-false): guile-json now returns 'null instead of #nil for null JSON values. Handle it. --- guix/import/pypi.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index b20c2300f6..a2b5d995ef 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 Maxim Cournoyer ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Lars-Dominik Braun +;;; Copyright © 2020 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -63,7 +64,7 @@ (match-lambda ("" #f) ((? string? str) str) - ((or #nil #f) #f))) + ((or 'null #f) #f))) ;; PyPI project. (define-json-mapping make-pypi-project pypi-project? -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 03:58:39 2020 Received: (at 42206) by debbugs.gnu.org; 5 Jul 2020 07:58:39 +0000 Received: from localhost ([127.0.0.1]:59964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrzXr-0007Za-5z for submit@debbugs.gnu.org; Sun, 05 Jul 2020 03:58:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrzXp-0007ZI-1p for 42206@debbugs.gnu.org; Sun, 05 Jul 2020 03:58:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58674) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrzXi-0006wE-9z; Sun, 05 Jul 2020 03:58:30 -0400 Received: from [2a01:e0a:fa:a50:84fd:6270:81db:82dd] (port=52626 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jrzXh-0002xZ-3H; Sun, 05 Jul 2020 03:58:29 -0400 From: Mathieu Othacehe To: Arun Isaac Subject: Re: [bug#42206] [PATCH] import: pypi: Handle 'null instead of #nil. References: <20200704224145.5828-1-arunisaac@systemreboot.net> Date: Sun, 05 Jul 2020 09:58:27 +0200 In-Reply-To: <20200704224145.5828-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Sun, 5 Jul 2020 04:11:45 +0530") Message-ID: <87tuymjsv0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42206 Cc: 42206@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Arun, > ((? string? str) str) > - ((or #nil #f) #f))) > + ((or 'null #f) #f))) This LGTM. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 06:43:01 2020 Received: (at 42206-done) by debbugs.gnu.org; 5 Jul 2020 10:43:01 +0000 Received: from localhost ([127.0.0.1]:60079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js26u-00036Q-Tj for submit@debbugs.gnu.org; Sun, 05 Jul 2020 06:43:01 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:60378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js26t-00036H-Ln for 42206-done@debbugs.gnu.org; Sun, 05 Jul 2020 06:43:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2Sj7yOpNXeQxD4BMejoupHL3e1REzuhTggc+JCH/at4=; b=WK9GNdQ2OGz41j/hFPf5ecw2d Mou66SLayrLRoviMpxFxV0QkRItg6gfIqSTowVgRYgY/F3njlyiHdn+Z2M85MBW+1n9QSbANTXkjy kMDjcjpXozi56GV7AGOZzvUk3zUfa3oTFCh8BFTdF5dc4OSwGpydyMbWAWDu1BhJMfUtM=; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1js26q-000FwW-BS; Sun, 05 Jul 2020 16:12:56 +0530 From: Arun Isaac To: Mathieu Othacehe Subject: Re: [bug#42206] [PATCH] import: pypi: Handle 'null instead of #nil. In-Reply-To: <87tuymjsv0.fsf@gnu.org> References: <20200704224145.5828-1-arunisaac@systemreboot.net> <87tuymjsv0.fsf@gnu.org> Date: Sun, 05 Jul 2020 16:12:55 +0530 Message-ID: <87y2nytf80.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42206-done Cc: 42206-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Pushed to master, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl8Brq8ACgkQLiXui2GA K7Mivgf/aF7VC2IgM5939q5NYFW02X/k/WxC6RJG45Ovag0Es3aHu/CQJTK/t74V 8xdfa3rF4ct+O513frMnEkejCvalLJAQdwk+qEVLdLg7t8U0FXx3vKzAClRjYduq P7IqA0WnzSFBjQbSlSyUHegQznZwMgUyXfcYoW6Rioxc2PIIPw7OPrDd4XAmI+ST /BG5vF+inzH8KEdJqhcPSZm5ueyAqj7ViWqb6LmuCJchTn+qOAoEXQ73CdrAbzw8 Z2EI/lQTU/ToC3Gn0WFN0vQAaVB3HBeqEOFLIeqhXoDgH6ofa4tq+m4/Ug79s942 GBR0/gNwg4ytAknkjASYl/kTq61hSA== =0CLG -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 10:00:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Aug 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator