From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CAo1DiZSymF6fwAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:54:14 +0100 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 OJdDCyZSymHzNAAAauVa8A (envelope-from ) for ; Tue, 28 Dec 2021 00:54:14 +0100 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 CA1284F98 for ; Tue, 28 Dec 2021 00:54:13 +0100 (CET) Received: from localhost ([::1]:44750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zoi-0007Td-V6 for larch@yhetil.org; Mon, 27 Dec 2021 18:54:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zoY-0007TU-U1 for bug-guix@gnu.org; Mon, 27 Dec 2021 18:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zoY-0004Uf-L9 for bug-guix@gnu.org; Mon, 27 Dec 2021 18:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zoY-0001X1-Fw for bug-guix@gnu.org; Mon, 27 Dec 2021 18:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52836: "guix import pypi" fails with "Failed to extract file from wheel" and "no requires.txt file found" Resent-From: bbb ee Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Dec 2021 23:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52836 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52836@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16406492125835 (code B ref -1); Mon, 27 Dec 2021 23:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2021 23:53:32 +0000 Received: from localhost ([127.0.0.1]:44651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zo1-0001Vz-L7 for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:53:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:41310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1xGa-0005DQ-8i for submit@debbugs.gnu.org; Mon, 27 Dec 2021 16:10:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1xGa-0004Dp-2P for bug-guix@gnu.org; Mon, 27 Dec 2021 16:10:48 -0500 Received: from [2607:f8b0:4864:20::b2a] (port=43540 helo=mail-yb1-xb2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1xGY-0000ww-7B for bug-guix@gnu.org; Mon, 27 Dec 2021 16:10:47 -0500 Received: by mail-yb1-xb2a.google.com with SMTP id f9so50626675ybq.10 for ; Mon, 27 Dec 2021 13:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=7o87+Pnr4qX54L7vvjhMSlAKBIFJu/KPvfecuOcG0Tk=; b=QTJkqmZ431kx279vf4Q+aHbJVj8O9GCwd6HoB/0CY9OBHqZqOYb/2RKzyq+YR4jVRC X6eJ1/oECkaqMq/x0sA8x7fdNWQ+OQwG6m1tFi5McInl54ja9Q6hCVQEamdXRq0DEfbL 7GPdeKCZVSqy0/kExrPw7kJ8z2dbF3XOpH0fUQ3sqIBE05r5KdQYoEzwsCpZM9MHB+/x +eRkLuWp64FQPF3z2laIZSLKNKfPq+6ANkWo9ktUdA7Yb3j/odfZoEQ681+tP6q63OBK LgnoKkDduICzHdz4y+Rus3kLpNQZK9KrVCyaq3p/bmzc6sIZwa+7sU7C/Z1nQmWFbgKO axog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7o87+Pnr4qX54L7vvjhMSlAKBIFJu/KPvfecuOcG0Tk=; b=K/7RlAWw4wKn6Nn7k+AYcT0wlM+bSDiXojimHl4MxEWfJ/+7GbDdXKxauUDojaXkCU Ke4TgUTvaHT7iTGAuavlMdMtgxyITyjzWQmBvBkq/n8hfZ3538t0rA5EsWa/2SVfoluP HTnrF66FALh48DlNdJnBBaiczSlwvKCr+LAMCLHkaTaAfoGWT8UzQJWL3bpJw+6YW7m+ 9ZOr6HLm5+2wxu8Rq9pwnoCpoA/Xyv4cBlYoyn68IuM1EjyfUopOnKiOxdb+KCd1fnz0 fCtBIQWH+nB49oOwhZody6jnnbdgPVlssAA+Zntfq4npu8VxbIxvwtd121AersBCQqRR Vxog== X-Gm-Message-State: AOAM533fOHQrRxfUS9DuvwJ2/wa0r1IdOh6tNDVWqSJ7DVGNlMjQxasG 5fBEngwgBD6sy5tA2gaC1DmCFQgsLiP20VF1xCdSV/fLAEU= X-Google-Smtp-Source: ABdhPJzI/VrAks8WA+hxOreJr/Hyavoo5jgQRH25sHre4nqGibQyLcZ8qQ6aQyKweX57D9qH81+ZL/FKP90t90AIpxk= X-Received: by 2002:a25:e00b:: with SMTP id x11mr11078219ybg.460.1640639443196; Mon, 27 Dec 2021 13:10:43 -0800 (PST) MIME-Version: 1.0 From: bbb ee Date: Mon, 27 Dec 2021 22:10:32 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000375fb205d42723f1" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=blasforr@gmail.com; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 27 Dec 2021 18:53:28 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640649253; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=7o87+Pnr4qX54L7vvjhMSlAKBIFJu/KPvfecuOcG0Tk=; b=JnkeqH91PK5nSczZUSu81cOIFC04Yj3BaZ7VQymTaWdt4+31xhNweaAW48PUUOpJngatw5 FAB1I+whTwKhvUm9Ky7hc7ODvQ7EC9qX6VYmP8ttdpWd2FMtbohsVyxVnAqXgm9k8NWlIA NrNf/knUYb4wiKdD9Wyw1dEnGXXu7RZXwazVApVNXzo6r+74ReK/+TGFihr4qoXb+VyIGs xFGbI9kHs9VgtFao6FOou0FXGNMeNGPo4sI4WL4YmS/oFQ+aloxjYZ+MKziJ43ncGJU2kI D3bFAb1EA2PSkV9sWXEqj7fkQASkVtLEKQH3crVyPgNIxzwPjdhdYZbJWFiDrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640649253; a=rsa-sha256; cv=none; b=BfsCHVn6lsA3Fb4XRi400OHzVtygJ4ZaptewLD9hh4YG0cgC+dy64zB3Pvx9QuQT/+8Lkt bvKiV4hyH1bhGpLh6sFIlhSlyuV5/upNWt42b6GZmDR6wkfmC6H8XAl8isdnVtvshI0N+k zsGweflS3LpVgHJapIxy8zrn+sLjHRmRKEyRH4tW6JiRLDPsnBDItpV3HMbgD1rLweXR+I TOqcuUCeohUYgAMARALrsY1Py19VIgrTx7J5XT3mXnyOCLbWySxolI4KTyDH7nNw9UkAiR 5q3J+oOLQwTkrSiUzMxAmIMMUEeRSBklYFn/juIrI+FzrKc8k5KSWxPQjx8oYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QTJkqmZ4; 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-Spam-Score: -1.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QTJkqmZ4; 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-Queue-Id: CA1284F98 X-Spam-Score: -1.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: mmV8EwDiWksg --000000000000375fb205d42723f1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I have encounter a issue with "guix import pypi" : ``` guix import: warning: Failed to extract file: PyPortfolioOpt-1.5.1.dist-info/METADATA from wheel. guix import: warning: Cannot guess requirements from source archive: no requires.txt file found. ``` ## reproduce the bug ``` (base) guix import pypi PyPortfolioOpt following redirection to `https://pypi.org/pypi/pyportfolioopt/json'... Starting download of /tmp/guix-file.mwZdLg From https://files.pythonhosted.org/packages/97/c2/c7569f2773f3e942367e90dcca15a= 235af3d3330ac8abfcbfbe67a8ba8dd/PyPortfolioOpt-1.5.1.tar.gz. .. =E2=80=A6t-1.5.1.tar.gz 56KiB 2.7MiB/s 00:00 [#############= #####] 100.0% Starting download of /tmp/guix-file.mHBgak From https://files.pythonhosted.org/packages/90/98/3906835b783ba39cfc613c7b0c0fd= e9c758c729ff3406d45f1c2a1116961/PyPortfolioOpt-1.5.1-py3-none-any.whl. .. =E2=80=A6.1-py3-none-any.whl 60KiB 2.1MiB/s 00:00 [#############= #####] 100.0% guix import: warning: Failed to extract file: PyPortfolioOpt-1.5.1.dist-info/METADATA from wheel. guix import: warning: Cannot guess requirements from source archive: no requires.txt file found. (package (name "python-pyportfolioopt") (version "1.5.1") (source (origin (method url-fetch) (uri (pypi-uri "pyportfolioopt" version)) (sha256 (base32 "162d6jyvba0xk2blssbp52rrjqpjv011h988k150p1fg7x7nzbs9")))) (build-system python-build-system) (home-page "https://github.com/robertmartin8/PyPortfolioOpt") (synopsis "Financial portfolio optimization in python") (description "Financial portfolio optimization in python") (license license:expat)) (base) guix describe Generation 220 Dec 27 2021 12:01:04 (current) guix 9bbbac6 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 9bbbac6783bcdace17d967e85c8ae8d14cbf1ef9 ``` ## additional information This user has encountered a similar issue for "guix import pypi httpie" https://www.mail-archive.com/bug-guix@gnu.org/msg14277.html However "guix import pypi httpie" runs for my version of guix. --000000000000375fb205d42723f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I have encounter a issue with "= guix import pypi" :
```
guix import: warning: Fail= ed to extract file: PyPortfolioOpt-1.5.1.dist-info/METADATA from wheel.
= guix import: warning: Cannot guess requirements from source archive: no req= uires.txt file found.
```
## reproduce the bug

```
(base) guix import pypi =C2=A0PyPortfoli= oOpt
following redirection to `https://pypi.org/pypi/pyportfolioopt/json'...
Starting download of /tmp/guix-file.mwZdLg
From https://files.pythonh= osted.org/packages/97/c2/c7569f2773f3e942367e90dcca15a235af3d3330ac8abfcbfb= e67a8ba8dd/PyPortfolioOpt-1.5.1.tar.gz...
=C2=A0=E2=80=A6t-1.5.1.tar= .gz =C2=A056KiB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2.7MiB/s 0= 0:00 [##################] 100.0%

Starting download of /tmp/guix-file= .mHBgak
From https://files.pythonhosted.org/packages/90/98/39068= 35b783ba39cfc613c7b0c0fde9c758c729ff3406d45f1c2a1116961/PyPortfolioOpt-1.5.= 1-py3-none-any.whl...
=C2=A0=E2=80=A6.1-py3-none-any.whl =C2=A060KiB= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02.1MiB/s 00:00 [##################] 100.= 0%
guix import: warning: Failed to extract file: PyPortfolioOpt-1.5.1.di= st-info/METADATA from wheel.
guix import: warning: Cannot guess requirem= ents from source archive: no requires.txt file found.
(package
=C2=A0= (name "python-pyportfolioopt")
=C2=A0 (version "1.5.1&qu= ot;)
=C2=A0 (source
=C2=A0 =C2=A0 (origin
=C2=A0 =C2=A0 =C2=A0 (me= thod url-fetch)
=C2=A0 =C2=A0 =C2=A0 (uri (pypi-uri "pyportfolioopt= " version))
=C2=A0 =C2=A0 =C2=A0 (sha256
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 (base32 "162d6jyvba0xk2blssbp52rrjqpjv011h988k150p1fg7x7nzbs9&q= uot;))))
=C2=A0 (build-system python-build-system)
=C2=A0 (home-page = "https://g= ithub.com/robertmartin8/PyPortfolioOpt")
=C2=A0 (synopsis "= ;Financial portfolio optimization in python")
=C2=A0 (description &= quot;Financial portfolio optimization in python")
=C2=A0 (license l= icense:expat))
(base) guix describe
Generation 220 Dec 27 2021 12:01:= 04 (current)
=C2=A0 guix 9bbbac6
=C2=A0 =C2=A0 repository URL: https://git.savannah.gnu.or= g/git/guix.git
=C2=A0 =C2=A0 branch: master
=C2=A0 =C2=A0 commit:= 9bbbac6783bcdace17d967e85c8ae8d14cbf1ef9
```
## ad= ditional information
This user has encountered a similar issu= e for "guix import pypi httpie"

However &quo= t;guix import pypi httpie" runs for my version of guix.
--000000000000375fb205d42723f1--