GNU bug report logs - #62765
Guile's "sleep pipe" can leak into processes created by 'spawn'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Stephen Paul Weber <singpolyma@HIDDEN>; merged with #62334, #63024; dated Tue, 11 Apr 2023 01:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'Guile's "sleep pipe" can leak into processes created by 'spawn'' from 'Python importer gets confused about network access' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 62334 62765 63024. Request was from zimoun <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62765 <at> debbugs.gnu.org:


Received: (at 62765) by debbugs.gnu.org; 11 Apr 2023 15:07:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 11 11:07:58 2023
Received: from localhost ([127.0.0.1]:37983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pmFbB-0008Ic-RC
	for submit <at> 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 <zimon.toutoune@HIDDEN>) id 1pmFb6-0008IK-NZ
 for 62765 <at> 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 <at> 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 <zimon.toutoune@HIDDEN>
To: Stephen Paul Weber <singpolyma@HIDDEN>
Subject: Re: bug#62765: Python importer gets confused about network access
In-Reply-To: <ZDVvg+5ocMvg/Z/D@HIDDEN>
References: <ZDS9lFdN1tPny/nV@HIDDEN>
 <86h6tm6dnt.fsf@HIDDEN> <ZDVvg+5ocMvg/Z/D@HIDDEN>
Date: Tue, 11 Apr 2023 17:07:43 +0200
Message-ID: <87ile2ihj4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62765
Cc: 62765 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On mar., 11 avril 2023 at 09:32, Stephen Paul Weber <singpolyma@singpolyma.=
net> 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 _ #<procedure 7f444ff63a80 at guix/import/ut=
ils.scm:639:21 (node)> #<procedure 7f44557e8b00 at guix/import/utils.scm:64=
5:21 (node)>)
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---






Information forwarded to bug-guix@HIDDEN:
bug#62765; Package guix. Full text available.

Message received at 62765 <at> debbugs.gnu.org:


Received: (at 62765) by debbugs.gnu.org; 11 Apr 2023 14:51:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 11 10:51:09 2023
Received: from localhost ([127.0.0.1]:37979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pmFKu-0007oU-QB
	for submit <at> debbugs.gnu.org; Tue, 11 Apr 2023 10:51:09 -0400
Received: from minsky.hcoop.net ([104.248.1.95]:56018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@HIDDEN>) id 1pmFKr-0007nI-Jg
 for 62765 <at> debbugs.gnu.org; Tue, 11 Apr 2023 10:51:08 -0400
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@HIDDEN>)
 id 1pmFKl-0002NP-MW; Tue, 11 Apr 2023 10:50:59 -0400
Date: Tue, 11 Apr 2023 10:50:59 -0400 (EDT)
From: Jack Hill <jackhill@HIDDEN>
X-X-Sender: jackhill@HIDDEN
To: Stephen Paul Weber <singpolyma@HIDDEN>
Subject: Re: bug#62765: Python importer gets confused about network access
In-Reply-To: <ZDVvg+5ocMvg/Z/D@HIDDEN>
Message-ID: <alpine.DEB.2.21.2304111049580.15296@HIDDEN>
References: <ZDS9lFdN1tPny/nV@HIDDEN> <86h6tm6dnt.fsf@HIDDEN>
 <ZDVvg+5ocMvg/Z/D@HIDDEN>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="925712948-147967510-1681224659=:15296"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62765
Cc: 62765 <at> debbugs.gnu.org, Simon Tournier <zimon.toutoune@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--925712948-147967510-1681224659=:15296
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Tue, 11 Apr 2023, Stephen Paul Weber wrote:

>> I cannot reproduce.
>
> Does the import work when you run it?

Works for me (guix c1262edba9118af6507dc47ce6ad61ffdec02384):

```
$ guix import pypi -r gruut

Starting download of /tmp/guix-file.glzbrJ
From https://files.pythonhosted.org/packages/4c/74/40e0bff02cf4daa3908c440e2111b20490c82080259f0114d0cfe07ce126/gruut-2.3.4.tar.gz...
  ….4.tar.gz  72KiB                    1.1MiB/s 00:00 ▕██████████████████▏ 100.0%

Starting download of /tmp/guix-file.IZKz4B
From https://files.pythonhosted.org/packages/51/9f/7eff478e38913cc9930527ff40c9ebcb04744dfcd0ddd43bd5a1eb9565b7/gruut-ipa-0.13.0.tar.gz...
  ….13.0.tar.gz  99KiB                 2.0MiB/s 00:00 ▕██████████████████▏ 100.0%

Starting download of /tmp/guix-file.EVbIBD
From https://files.pythonhosted.org/packages/76/c5/9dcb07bb44c7c66f89bdfb554d433c071ef7fed38d39d164716901db12b1/gruut_lang_en-2.0.0.tar.gz...
  …-2.0.0.tar.gz  14.5MiB              4.4MiB/s 00:03 ▕██████████████████▏ 100.0%
guix import: warning: Cannot guess requirements from source archive: no requires.txt file found.

Starting download of /tmp/guix-file.vlMVNT
From https://files.pythonhosted.org/packages/2a/c8/efdb87403dae07cf20faf75449eae41898b71d6a8d4ebaf9c80d5be215f5/jsonlines-3.1.0.tar.gz...
  ….1.0.tar.gz  8KiB                   5.6MiB/s 00:00 ▕██████████████████▏ 100.0%

Starting download of /tmp/guix-file.jDheDU
From https://files.pythonhosted.org/packages/68/32/290ca20eb3a2b97ffa6ba1791fcafacb3cd2f41f539c96eb54cfc3cfcf47/jsonlines-3.1.0-py3-none-any.whl...
  …py3-none-any.whl  8KiB              3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
guix import: warning: Failed to extract file: jsonlines-3.1.0.dist-info/METADATA from wheel.

Starting download of /tmp/guix-file.EPOrXf
From https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz...
  ….5.12.tar.gz  280KiB                3.3MiB/s 00:00 ▕██████████████████▏ 100.0%

Starting download of /tmp/guix-file.tOdRgu
From https://files.pythonhosted.org/packages/eb/09/b14d798bc02411b1e5a9896d680f8f417cadc53232bbf7ae9d30263dcf45/num2words-0.5.12-py3-none-any.whl...
  …-py3-none-any.whl  122KiB           2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
guix import: warning: Failed to extract file: num2words-0.5.12.dist-info/METADATA from wheel.

Starting download of /tmp/guix-file.sgNV9f
From https://files.pythonhosted.org/packages/3b/f4/6ca74fe5a38da704687cb1c4d4ad60e1b31c3123e1498de450530042c7f5/python-crfsuite-0.9.9.tar.gz...
  …e-0.9.9.tar.gz  430KiB              3.0MiB/s 00:00 ▕██████████████████▏ 100.0%

Starting download of /tmp/guix-file.ihTx8n
From https://files.pythonhosted.org/packages/7e/2f/0a1e4c279d2b01ab3080ea40d14fa051fd867ab87c9ffb42420eb87feed1/python_crfsuite-0.9.9-cp310-cp310-macosx_10_9_x86_64.whl...
  …cp310-macosx_10_9_x86_64.whl  180KiB 2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
guix import: warning: Failed to extract file: python_crfsuite-0.9.9.dist-info/METADATA from wheel.
guix import: warning: Cannot guess requirements from source archive: no requires.txt file found.
(define-public python-crfsuite
   (package
     (name "python-crfsuite")
     (version "0.9.9")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "python-crfsuite" version))
               (sha256
                (base32
                 "0vd7ndi9q4hc336bbgg3ccln4l7xskxzrdw6z5b6fijmd4fjd9na"))))
     (build-system python-build-system)
     (home-page "https://github.com/scrapinghub/python-crfsuite")
     (synopsis "Python binding for CRFsuite")
     (description "Python binding for CRFsuite")
     (license license:expat)))

(define-public python-num2words
   (package
     (name "python-num2words")
     (version "0.5.12")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "num2words" version))
               (sha256
                (base32
                 "120938q7h6syn16ybf0pmcxz0fqbm4f2plyr3lxal184107hnz3y"))))
     (build-system python-build-system)
     (propagated-inputs (list python-docopt))
     (home-page "https://github.com/savoirfairelinux/num2words")
     (synopsis "Modules to convert numbers to words. Easily extensible.")
     (description "Modules to convert numbers to words.  Easily extensible.")
     (license #f)))

(define-public python-jsonlines
   (package
     (name "python-jsonlines")
     (version "3.1.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "jsonlines" version))
               (sha256
                (base32
                 "0zy3llabmxsq559s73x1c84xlch3dcz9wql1xfq1by4nim4cny95"))))
     (build-system python-build-system)
     (propagated-inputs (list python-attrs))
     (home-page "https://github.com/wbolster/jsonlines")
     (synopsis "Library with helpers for the jsonlines file format")
     (description "Library with helpers for the jsonlines file format")
     (license license:bsd-3)))

(define-public python-gruut-lang-en
   (package
     (name "python-gruut-lang-en")
     (version "2.0.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "gruut_lang_en" version))
               (sha256
                (base32
                 "0lhy2z6y98djmg229jzd3ylay3jwg1s3js20l1zais7bvnvg63w9"))))
     (build-system python-build-system)
     (home-page "https://github.com/rhasspy/gruut")
     (synopsis "English language files for gruut tokenizer/phonemizer")
     (description "English language files for gruut tokenizer/phonemizer")
     (license #f)))

(define-public python-gruut-ipa
   (package
     (name "python-gruut-ipa")
     (version "0.13.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "gruut-ipa" version))
               (sha256
                (base32
                 "0vn6pvqm3aqijynnnbyc0wv165s3ylvfbm6k2jmikqa6kywnwxvi"))))
     (build-system python-build-system)
     (home-page "https://github.com/rhasspy/gruut-ipa")
     (synopsis
      "Library for manipulating pronunciations using the International Phonetic Alphabet (IPA)")
     (description
      "Library for manipulating pronunciations using the International Phonetic
Alphabet (IPA)")
     (license #f)))

(define-public python-gruut
   (package
     (name "python-gruut")
     (version "2.3.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "gruut" version))
               (sha256
                (base32
                 "1mqvvpaxwp42zink9h1nj0zjr9rs589rhghfrdhspxp4d3xdc43p"))))
     (build-system python-build-system)
     (propagated-inputs (list python-babel
                              python-crfsuite
                              python-dateparser
                              python-gruut-ipa
                              python-gruut-lang-en
                              python-jsonlines
                              python-networkx
                              python-num2words
                              python-numpy))
     (home-page "https://github.com/rhasspy/gruut")
     (synopsis
      "A tokenizer, text cleaner, and phonemizer for many human languages.")
     (description
      "This package provides a tokenizer, text cleaner, and phonemizer for many human
languages.")
     (license #f)))
```
--925712948-147967510-1681224659=:15296--




Information forwarded to bug-guix@HIDDEN:
bug#62765; Package guix. Full text available.

Message received at 62765 <at> debbugs.gnu.org:


Received: (at 62765) by debbugs.gnu.org; 11 Apr 2023 14:32:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 11 10:32:40 2023
Received: from localhost ([127.0.0.1]:37964 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pmF32-0007Ea-JQ
	for submit <at> debbugs.gnu.org; Tue, 11 Apr 2023 10:32:40 -0400
Received: from singpolyma.net ([192.99.233.116]:54959)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <singpolyma@HIDDEN>) id 1pmF2y-0007EP-RZ
 for 62765 <at> debbugs.gnu.org; Tue, 11 Apr 2023 10:32:38 -0400
Received: by singpolyma.net (Postfix, from userid 1000)
 id ECFB448619B7; Tue, 11 Apr 2023 14:32:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net;
 s=iweb; t=1681223555;
 bh=xiGvmz3QLM9C7mn88zDm4WicBlBoxd70yPLuZ7xhAnM=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=Mtk7iBLU+yPewHdBBAOKZ0KVqhgTD8v/++nnIpTwIYUX/yjCq804tAfMLRZFj6wSz
 qm8Ugb2cKgV0buJBWC8Aqbjdtkmu4qj2cMRy1lB/Hw2NMLc9UY1G2kb1GBUEmgg9hm
 M2QfP5e4FT/YpViEPtDgsASl//8fmkr1d/rpOwOM=
Date: Tue, 11 Apr 2023 09:32:35 -0500
From: Stephen Paul Weber <singpolyma@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: bug#62765: Python importer gets confused about network access
Message-ID: <ZDVvg+5ocMvg/Z/D@HIDDEN>
References: <ZDS9lFdN1tPny/nV@HIDDEN> <86h6tm6dnt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="Wf+AHLGxWdxoEQyZ"
Content-Disposition: inline
In-Reply-To: <86h6tm6dnt.fsf@HIDDEN>
Jabber-ID: singpolyma@HIDDEN
OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc
X-URL: https://singpolyma.net
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62765
Cc: 62765 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


--Wf+AHLGxWdxoEQyZ
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

>I cannot reproduce.

Does the import work when you run it?

--Wf+AHLGxWdxoEQyZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmQ1b38ACgkQ0RwpEc5R
nN4HLQ//byY7ShqNGNbmm/8IqMDnAp+H9lWvzpBqjPsAJ1EUUqUsHJ637dy7danW
X2wmy1Vi/cBGG5sopWTZxwU1bv8+VsMPCg+klviUswc4w66HdSZvkjanQSoGykdz
QoM3ex6EncvICa331o/AGMBWUWerka0LIIMgT5tAFy54rkIMaPWkNktF2i7bTjEv
pBAeZy/0WSDlW9sgS8m/S3V0CZo2naP2RzETDl6uIVq+TRfd0Oor98ujVC+wkL5k
1Dc7qPYSpqcxQ7OPzqkaVuf0U4P9HUIraNZjimkEr8J25z9AeEsitjmbgAWzb9Bl
WprXlIoOuMHHvvFfbOnyZHvnF2cObeiqRFCdxp70lO7hj+D7cWOXgD6C6fqef6H3
vfe2khEWP4iF6oN84goGImV9MzBucGXI3wxih2Vd9XAV/7Mwzqsp1bJHOxlXI96v
1A6eJLnKxANFJK3mrHcT0dro38iZKLpjKquBqHhuXtu6HrfgfyVMmmFhRH2JFbpG
4FSFCOC+zxWhA6ip2Bb+59rcMfya3T5h47FbQCB/hHrfETOEtJ2KknuiQAxjiIuN
fH799erZp/s/vOLA5F2SmA7dGNR4BEyhyrUSj2MnYAnJke/Ko9RM30+N2CoVWEmV
QN53BlGY/1dxm4kCP8AGdgf+CR7v+x4OLaGNeF5C8ZZyIywUaPU=
=/e7s
-----END PGP SIGNATURE-----

--Wf+AHLGxWdxoEQyZ--




Information forwarded to bug-guix@HIDDEN:
bug#62765; Package guix. Full text available.

Message received at 62765 <at> debbugs.gnu.org:


Received: (at 62765) by debbugs.gnu.org; 11 Apr 2023 08:37:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 11 04:37:20 2023
Received: from localhost ([127.0.0.1]:36619 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pm9V9-0002IM-Q4
	for submit <at> debbugs.gnu.org; Tue, 11 Apr 2023 04:37:20 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:40346)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pm9V7-0002Hv-Aw
 for 62765 <at> debbugs.gnu.org; Tue, 11 Apr 2023 04:37:18 -0400
Received: by mail-wr1-f45.google.com with SMTP id
 ffacd0b85a97d-2ef70620b9dso579898f8f.1
 for <62765 <at> debbugs.gnu.org>; Tue, 11 Apr 2023 01:37:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1681202231;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=cy8pmyTskQEdVrQnKeHpcsy7EMZeM7T6+iOO6XfIYmo=;
 b=qagyCxOit/IpDhEovO+jsuUnaFOwJoQki5PadtahKrsQ6ofEMEkESH/A2tVthdEHKX
 JR3FRa0pu4scnHM236v/hvqfqn0ZA8GVP1A8Cf04/wSRAMcn0uLw1Cd44lhe4GiBVbIB
 tsFCaZwQx/a0iB00dO3ywKg5Z2CXZHm9yWK6Y9vC/1YhZ030mCL7AMeRHvQv4Fh3Ncxu
 ZEgywOU86+Vlwzn5hceqkupS5hniq0nTCOpGiHKM2bOV3XPOniLRDjzLmMiaSvmvGcpz
 eK0p3LP+lEiG8oNU5osSE7BqZhWM37dZ6OjZYJlAaTcMSLGP6C0qtzmwaxKF1C39HMb9
 E3+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1681202231;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=cy8pmyTskQEdVrQnKeHpcsy7EMZeM7T6+iOO6XfIYmo=;
 b=FZLgKhcgFhuUP1GXpIUaSqAfZ+o4xGxJw2xXoOsSRHifsvVvAG8XpNrPOYE1Nhr3Uh
 wceQEi/1cTjRxss5fYkeF5rXLrGhJBrvGNrERV2wu2hxJdSNeFjv4/1VSVGRQnBFqqSH
 FEEG+Mi08JCEOiGH6n8+G+T6akwLJg6whYhhct2jLfVd15iJA/oFAbeXOFOgIPTOwJJP
 XkHmy0q1fNKwHdowvj6wOl4oktW92h3R0YdXWkEqYL3FKTAH6WeaJcLmJc36ccC2y5Dx
 wyUlMt5uapG1bj0PR3446Z4q4f3GVWg74/+pJEq7aMTFnTGk1HV/pGeJQQb1n0nuU6Cc
 PM/w==
X-Gm-Message-State: AAQBX9dCYCv4MGciMXOHGR9p5qVQhF6GNQPlNAKX/rEkCb6MLQJxLnPq
 PUd5xeZcQaruGDmt6xheEQWTNGLjUt0=
X-Google-Smtp-Source: AKy350Z9VV+S/JZBOLlsY9+M5PMRuaTIBeJfh7f/sYjO8AAEeg4UA+mIbF/xgK8j/F4X8bkhjqjW/A==
X-Received: by 2002:a05:600c:1991:b0:3f0:80fe:25be with SMTP id
 t17-20020a05600c199100b003f080fe25bemr6807560wmq.3.1681202231387; 
 Tue, 11 Apr 2023 01:37:11 -0700 (PDT)
Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id
 k9-20020a5d4289000000b002d21379bcabsm13920140wrq.110.2023.04.11.01.37.10
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 11 Apr 2023 01:37:11 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Stephen Paul Weber <singpolyma@HIDDEN>, 62765 <at> debbugs.gnu.org
Subject: Re: bug#62765: Python importer gets confused about network access
In-Reply-To: <ZDS9lFdN1tPny/nV@HIDDEN>
References: <ZDS9lFdN1tPny/nV@HIDDEN>
Date: Tue, 11 Apr 2023 10:12:06 +0200
Message-ID: <86h6tm6dnt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62765
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

I cannot reproduce.

On Mon, 10 Apr 2023 at 20:53, Stephen Paul Weber <singpolyma@HIDDEN> wrote:

> Starting download of /tmp/guix-file.hITnlA
>  From https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz...
> In procedure connect: Network is unreachable
>
> But doing `guix import pypi -r num2words` works fine.

Is it systematic?  Or transient?  Or on your side?


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#62765; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Apr 2023 01:53:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 10 21:53:33 2023
Received: from localhost ([127.0.0.1]:36194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pm3CM-0005FR-4x
	for submit <at> debbugs.gnu.org; Mon, 10 Apr 2023 21:53:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:33034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <singpolyma@HIDDEN>) id 1pm3CK-0005FK-Qs
 for submit <at> debbugs.gnu.org; Mon, 10 Apr 2023 21:53:29 -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 <singpolyma@HIDDEN>)
 id 1pm3CK-0003zC-Dr
 for bug-guix@HIDDEN; Mon, 10 Apr 2023 21:53:28 -0400
Received: from singpolyma.net ([192.99.233.116])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <singpolyma@HIDDEN>)
 id 1pm3CJ-0004nu-0z
 for bug-guix@HIDDEN; Mon, 10 Apr 2023 21:53:28 -0400
Received: by singpolyma.net (Postfix, from userid 1000)
 id 4A33A48619C8; Tue, 11 Apr 2023 01:53:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net;
 s=iweb; t=1681178004;
 bh=DUf1xpW9OewVC/03cQLzALBRDpIcr3HRgG2uoAsBTsY=;
 h=Date:From:To:Subject:From;
 b=UhMoFTvCDgHVXJmfMQn/c/u387wiPE3eLUvi1+7RqN009OTvePtNDER/zVDHfWrzv
 2ybz4nJDXzbyiZ7h4HepRqqYELb680PYtMdnGF5SXZ1PyCBdmCywTpjSujZkc3o8nj
 JpLJxSZaq17XoUwKMrGuVP4sKqkm6vHD6HDu0HLc=
Date: Mon, 10 Apr 2023 20:53:24 -0500
From: Stephen Paul Weber <singpolyma@HIDDEN>
To: bug-guix@HIDDEN
Subject: Python importer gets confused about network access
Message-ID: <ZDS9lFdN1tPny/nV@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="6eVLF0smty/4t1xY"
Content-Disposition: inline
Jabber-ID: singpolyma@HIDDEN
OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc
X-URL: https://singpolyma.net
Received-SPF: pass client-ip=192.99.233.116;
 envelope-from=singpolyma@HIDDEN; helo=singpolyma.net
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


--6eVLF0smty/4t1xY
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Trying `guix import pypi -r gruut` I get:

Starting download of /tmp/guix-file.hITnlA
 From https://files.pythonhosted.org/packages/74/67/3008e4f0b97d9a5701c8ef3bf95f1941c5b0a620c8f88f32e849117f8dc0/num2words-0.5.12.tar.gz...
In procedure connect: Network is unreachable

But doing `guix import pypi -r num2words` works fine.

--6eVLF0smty/4t1xY
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmQ0vY8ACgkQ0RwpEc5R
nN5qbA//YbXvxWChVc4pDS2PahIVWVHgl4iVp6OMpXSxYGmZTVfDaHGlyXMr7HWX
yCoPWjhXgv02PtTRdlRkFNqKPmhZV018fVOND0P2uvgWjfe1XM2IzmNNIEHen5ec
wBMAUuogkmpfO8c6FDqGlSQZ5P6Ybsbhz+EGQ4m+cuA973BuQ1UGntWmEeJJ/f7d
OVbXzUS0vxPGxYYpnVgfTlNHhSNUnYvuEXZm0id0AquajzrLBLNA1W3DOnaKeLiQ
qfUUlMuKyXKsLiVGCAmDQaPWYzmb0+7LIVjVcK7KwPmhjQHVZmMqYRT/uzl7nQZ4
vejT2/PZU5hBdNoP5WEuRT/ou2j2V09jl/a4daRaYQkp7rBTmD7FVd4fWKRjDKTD
s7IC/XJAePqolD3y+eVZ7N+PquVTzHs/2H7ihQ8uS+JeZcTdgQPIvwurnVAcTrPz
sURvSfsrzNBh76czwn0UIhONPQzpYpJsUAOi5ihNIyLaboDKNoyXkM0jTLKaAp0F
WZkvO+GstbgdLXG9Lsgq0APpFdzL5IqysT7dTyxQi+aqe74UBYX4RILTIFpZzogn
Fd8ZIEbSzB4HSjYNzkZRpDaqnTF7t7gnczejf9oZO11Nfn2Q+mT2W2fXdXOFvoU8
jgfDMOjILB8QiqR2G/XUKTB0yFeOgkQCaXTQEq7Zm6Iwn7MWqqg=
=Z02B
-----END PGP SIGNATURE-----

--6eVLF0smty/4t1xY--




Acknowledgement sent to Stephen Paul Weber <singpolyma@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#62765; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 2 May 2023 22:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.