From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uIvjI+t3NWQh/wAASxT56A (envelope-from ) for ; Tue, 11 Apr 2023 17:08:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WHaBI+t3NWRGfgEAauVa8A (envelope-from ) for ; Tue, 11 Apr 2023 17:08:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3CED12B355 for ; Tue, 11 Apr 2023 17:08:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmFbJ-0005dI-Eb; Tue, 11 Apr 2023 11:08:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmFbH-0005cr-IB for bug-guix@gnu.org; Tue, 11 Apr 2023 11:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmFbH-0003Wb-0s for bug-guix@gnu.org; Tue, 11 Apr 2023 11:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmFbG-0008Iv-F2 for bug-guix@gnu.org; Tue, 11 Apr 2023 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62765: Python importer gets confused about network access Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Apr 2023 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62765 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Stephen Paul Weber Cc: 62765@debbugs.gnu.org Received: via spool by 62765-submit@debbugs.gnu.org id=B62765.168122567831911 (code B ref 62765); Tue, 11 Apr 2023 15:08:02 +0000 Received: (at 62765) by debbugs.gnu.org; 11 Apr 2023 15:07:58 +0000 Received: from localhost ([127.0.0.1]:37983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmFbB-0008Ic-RC for submit@debbugs.gnu.org; Tue, 11 Apr 2023 11:07:58 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:41410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmFb6-0008IK-NZ for 62765@debbugs.gnu.org; Tue, 11 Apr 2023 11:07:56 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-2efbab42639so252373f8f.1 for <62765@debbugs.gnu.org>; Tue, 11 Apr 2023 08:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681225667; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IABBhbOu45DMgyPWR7AYtwgM12N76CJDRqo+s1TvW5w=; b=NP8ex7254NRKwdwQwKrZuv91ZbLUxC6LUkyonl6vo+dCEOpKBEBnj3bQEvFeU/+6j8 prJbjaNm3/lcGvUbLLUXQfM3EPN+Mha35qwKxNZ73sQ4s29t3OYhO9KDpLxJvGtKfJrk 1bX8cirEGkVolh5S1j2wG8+TPms2Iv5V/n7DwuLP1y6vnm2oKikc0YCW0zfRellaRM16 tU2bYqZ0J1UwjI+QWrXa3OV55bCb0Xlu+VWlc5QGbHDmSa50KuJuNw2f5L1KRnzEb6kH 0gJQu1b+qhae/rICVoD9RDUn7opUXCYeVnRYTZtG6BcEzb1dOns0kQc+GDvCtyPUWSRy L+GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681225667; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IABBhbOu45DMgyPWR7AYtwgM12N76CJDRqo+s1TvW5w=; b=ttaCsbKZfl7DZRvP8iqaMshdNkwq00qP/29euh3XJyioPfo+GXpWYTMqh671Z0ekji 61YtJZV7sMDolxXuTYPTsEPszHlttcXHY/O+Tt4oi6/ofDIEfbSPktOfYGeFqnY5/TB5 0xyyfnCLMZanZS1Z8GhYYGWgEGs+DN6ygnrcdjLEUa7AtS1zs6h7MI2D+AHm2CCM+LUV s+9ix8VWnD0hQ2bf9E4vbUIAmyhpmL/yudZ/tGK/iARRLTpbNU/zNjO7QN2FXFUds6xi MaNJQV3akqkPRSl82NolXIRqaY3H5fazLnm4idCopV4DwYSslcC8wHMQPTSdfnlrRRrW mAPw== X-Gm-Message-State: AAQBX9e/EPQE0+4rhfjoIsilL5MBLR/wWFaQTgW7k2BdngDL/6JZqj8P pi5ufgB2wYmIjdu+4qGyUNde10M0cug= X-Google-Smtp-Source: AKy350bJche5x5CtbmgAO07azc80lg8iQjz8JqoVIKysJdGrKc5FCkwSnF5CGDlM51g6IcTnOSlTKw== X-Received: by 2002:a05:600c:468b:b0:3f0:823c:181a with SMTP id p11-20020a05600c468b00b003f0823c181amr7134347wmo.1.1681225666827; Tue, 11 Apr 2023 08:07:46 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f4-20020a7bcd04000000b003ed1f6878a5sm17379989wmj.5.2023.04.11.08.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 08:07:46 -0700 (PDT) From: Simon Tournier In-Reply-To: References: <86h6tm6dnt.fsf@gmail.com> Date: Tue, 11 Apr 2023 17:07:43 +0200 Message-ID: <87ile2ihj4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681225703; a=rsa-sha256; cv=none; b=YN2yNhXXH3r7ibG6bqtFbW3SdTbLy9abJKTdMk1CJodmkP2b76ri6Thi5tjd8x0IkObshj zYppjrXB7BDFnuGsIZgQ0dybdKqm8hKYZC1rpcgwADXcJ6i+PcW/yi0RbpFDwhlh8UVZep /zrVvZSH9u1AXlp4fqDQgECHsnShmAv/wtOlQl72FuQlVKpISAXubBvY8orRLLWtVP69ol Gud/NdnaMm28SsvUHhSc0M0ZNlRACANnccZyePWVheZ33wlzuv9ZyybphMp0JOUqueaV3z Rc45GVm96Cw0sn95tX3LFtFENWflybJHElyGdgm6e6AJWUQW8cPASwSdKk9nUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NP8ex725; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681225703; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IABBhbOu45DMgyPWR7AYtwgM12N76CJDRqo+s1TvW5w=; b=tzRwUJUvFCGQOcb4fK3Uo7i6c3SSYC/GO4v/ucD3wabZiAwIkK5hr7TjdLZ0N5HFJNLili 6fzpOdsK4jG/RKlMaPanUCvlkrlyJEibDbWPdf+YFY6vN0GBo3JYLerv8TY8e3HK2o73d6 2gitBTZgLHJCSnG1xXWzR9asj8PjkMPMopCkUTJXJFzT4UBOm8j/kYodx6Nx2fSnwes0jA 59Odj6Hvn+mwHkgMDJnRxSlf7JFYavgNs7W9lRGeaRkKgReFvTwzQHMfXEXHoUYh7v4FK4 Q/F5KwEjwNNUEy/Wmse7TeUAzUOLj6MydGDCoYyj4BAxtyHBy49OMKvmMxeQuQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NP8ex725; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.42 X-Spam-Score: -3.42 X-Migadu-Queue-Id: 3CED12B355 X-TUID: DDZ2li1QoN1V Hi, On mar., 11 avril 2023 at 09:32, Stephen Paul Weber wrote: >>I cannot reproduce. > > Does the import work when you run it? Yes and no. :-) It depends the Guix revision. Using a revision from January as 29efa27, it works. But using 86d580c from April, it fails with: --8<---------------cut here---------------start------------->8--- Starting download of /tmp/guix-file.cB9cmQ >From https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3b= f95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz... In procedure connect: Network is unreachable --8<---------------cut here---------------end--------------->8--- which passes with 29efa27. And indeed, using 86d580c, =E2=80=9Cguix import= pypi num2words -r=E2=80=9D passes without any error, downloading from the exact = same URL. Hum?! Well, I do not know which change impacts this regression. Cheers, simon --8<---------------cut here---------------start------------->8--- $ guix import pypi -r gruut Starting download of /tmp/guix-file.Vlu2YX >From https://files.pythonhosted.org/packages/4c/74/40e0bff02cf4daa3908c440e= 2111b20490c82080259f0114d0cfe07ce126/gruut-2.3.4.tar.gz... =E2=80=A6.4.tar.gz 72KiB 7.4MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% Starting download of /tmp/guix-file.Fq9iuS >From https://files.pythonhosted.org/packages/51/9f/7eff478e38913cc9930527ff= 40c9ebcb04744dfcd0ddd43bd5a1eb9565b7/gruut-ipa-0.13.0.tar.gz... =E2=80=A6.13.0.tar.gz 99KiB 8.7MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% Starting download of /tmp/guix-file.GgsRw5 >From https://files.pythonhosted.org/packages/76/c5/9dcb07bb44c7c66f89bdfb55= 4d433c071ef7fed38d39d164716901db12b1/gruut_lang_en-2.0.0.tar.gz... =E2=80=A6-2.0.0.tar.gz 14.5MiB 41.7MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% guix import: warning: Cannot guess requirements from source archive: no req= uires.txt file found. Starting download of /tmp/guix-file.vXTdBs >From https://files.pythonhosted.org/packages/2a/c8/efdb87403dae07cf20faf754= 49eae41898b71d6a8d4ebaf9c80d5be215f5/jsonlines-3.1.0.tar.gz... =E2=80=A6.1.0.tar.gz 8KiB 9.3MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% Starting download of /tmp/guix-file.qTFTjC >From https://files.pythonhosted.org/packages/68/32/290ca20eb3a2b97ffa6ba179= 1fcafacb3cd2f41f539c96eb54cfc3cfcf47/jsonlines-3.1.0-py3-none-any.whl... =E2=80=A6py3-none-any.whl 8KiB 10.2MiB/s 00:00 =E2=96=95=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=8F 100.0% Starting download of /tmp/guix-file.cB9cmQ >From https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3b= f95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz... In procedure connect: Network is unreachable Starting download of /tmp/guix-file.cB9cmQ >From https://web.archive.org/web/20230411165120/https://files.pythonhosted.= org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117f= 8dc0/num2words-0.5.12.tar.gz... In procedure connect*: Connection timed out Trying to use Disarchive to assemble /tmp/guix-file.cB9cmQ... could not find its Disarchive specification failed to download "/tmp/guix-file.cB9cmQ" from "https://files.pythonhosted= .org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117= f8dc0/num2words-0.5.12.tar.gz" Backtrace: 13 (primitive-load "/home/simon/.config/guix/current/bin/guix") In guix/ui.scm: 2300:7 12 (run-guix . _) 2263:10 11 (run-guix-command _ . _) In guix/scripts/import.scm: 89:11 10 (guix-import . _) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/scripts/import/pypi.scm: 97:21 8 (_) In guix/import/utils.scm: 638:3 7 (recursive-import _ #:repo->guix-package _ #:guix-name _ #:ver= sion _ . _) 600:31 6 (topological-sort _ # #) In srfi/srfi-1.scm: 586:29 5 (map1 _) 586:29 4 (map1 (("gruut_lang_en" #f) ("jsonlines" #f) ("num2words" #f) = ("python-crfsuite" #f))) 586:29 3 (map1 (("jsonlines" #f) ("num2words" #f) ("python-crfsuite" #f= ))) 586:17 2 (map1 (("num2words" #f) ("python-crfsuite" #f))) In guix/import/utils.scm: 630:33 1 (lookup-node "num2words" #f) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Wrong number of values returned to continuation (expected 2) --8<---------------cut here---------------end--------------->8---