GNU bug report logs - #52836
"guix import pypi" fails with "Failed to extract file from wheel" and "no requires.txt file found"

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; Reported by: bbb ee <blasforr@HIDDEN>; dated Mon, 27 Dec 2021 23:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 52836) by debbugs.gnu.org; 31 Dec 2021 12:16:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 31 07:16:57 2021
Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3Gq9-000222-Av
	for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 07:16:57 -0500
Received: from mail-yb1-f176.google.com ([209.85.219.176]:44671)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <blasforr@HIDDEN>) id 1n3EwX-0006QK-T5
 for 52836 <at> debbugs.gnu.org; Fri, 31 Dec 2021 05:15:26 -0500
Received: by mail-yb1-f176.google.com with SMTP id i3so64776551ybh.11
 for <52836 <at> debbugs.gnu.org>; Fri, 31 Dec 2021 02:15:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=m95weSOsDMR8YAjX4dL0727wdl9OobakxnbKGlYb7VA=;
 b=NBV25Tr6nPWB7E3d8uA5DuwiqTi2O+NTIzbtGs0YQt/caYK3R+KdUECtPchEj0n5wz
 /yrX6EZzZWby2RnOvkkzrlztCQ4pSh75vBSzalObY5R65hn3pXnqqDytMhA/BGPYL2Rn
 jYj0iwTYIhJBiz0yY3Sehx6peF94H+V7ZDmjTdy/3CEUbHole6tDQ3s+TjnDul4GhC0+
 ss71CcOqw3rn16Ax+sOlNTnm5DsGf8l1Zp48OHmHm3eitW1Mpc7ha0HwzuZ5e1mi+rtP
 76/Qd26Ds1nedNoquoY/EhnFtnBLttKbgJNLcQ0Ev87NlWFOlLGSEo+KTRETOoffehdV
 0Rmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=m95weSOsDMR8YAjX4dL0727wdl9OobakxnbKGlYb7VA=;
 b=Ig3da7AhzRGNFh1881SR90b4K26IgUF+k/54eycZFJjrhockv7/cbdssr1645UVhwr
 bQtkUXtFgoblHGZFj48omxHg4cQPAlBMPC8+J3lJ0ialssBuLcXZs+uc97Z0dCNs1MZK
 i1w01x8Es6wkiJKoPyzpvTWF3osKPs/GDEVugGiUWIjbchN6VAzivfrOjXhyK4aoZ+R0
 I8hJCfamfR/jNoZCUs+i8LosrU22dLxJaBRDv3snFR3Tex/6PUkL4N+/eiTHUMmCOpwY
 eYRJvKyc+SiA2cigkJ0EMStChv6opzV6IdACJkc7IsTLjY3oS2oihbZi/yo9cQnyFoT0
 ceFA==
X-Gm-Message-State: AOAM532jEeKFGJUjQhw9gVXfTY5PuU1/VwkUpWDgFKwxKHjWB33r19Ze
 RGduSIVHi4umowx0H+eoDtZm8cES7BabdCrZ3u2pG6y69tc=
X-Google-Smtp-Source: ABdhPJzJS7317SPhvl6q4gGNttJuFI1570aQPy14uo5R1z2ZhpihPnXg3YooTNHZDfRF9hd1aqXCOnbbJ3UT23D+Pzk=
X-Received: by 2002:a25:2d6:: with SMTP id 205mr34717105ybc.425.1640945720203; 
 Fri, 31 Dec 2021 02:15:20 -0800 (PST)
MIME-Version: 1.0
References: <CALNLCmV1=yLA19wLy-WRahoEkvpMAk9ii9aLMyiNMWR7-jARbw@HIDDEN>
 <86y243ibr4.fsf@HIDDEN>
In-Reply-To: <86y243ibr4.fsf@HIDDEN>
From: bbb ee <blasforr@HIDDEN>
Date: Fri, 31 Dec 2021 11:15:09 +0100
Message-ID: <CALNLCmX0mYD8Ts6OaM8MKMEvu8h+hBW1u3Y8OS=R55pk5Hc-FA@HIDDEN>
Subject: Re: bug#52836: "guix import pypi" fails with "Failed to extract file
 from wheel" and "no requires.txt file found"
To: zimoun <zimon.toutoune@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bf9dff05d46e72ce"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52836
X-Mailman-Approved-At: Fri, 31 Dec 2021 07:16:55 -0500
Cc: 52836 <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 (-)

--000000000000bf9dff05d46e72ce
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> Is it a bug on Guix side or upstream?  Because it seems that upstream
> does not provide metadata information, at least, as usually expected.

`pip install PyPortfolioOpt`, `poetry add PyPortfolioOpt` runs for me. If
other python package installer can run, I suppose the upstream is correct.
Unless Guix is not as powerful as other python package installers, and
cannot work for certain type of PyPi packages. In this case, can this be
considered an improvement to be made?

Le mer. 29 d=C3=A9c. 2021 =C3=A0 18:09, zimoun <zimon.toutoune@HIDDEN> a=
 =C3=A9crit :

> Hi,
>
> On Mon, 27 Dec 2021 at 22:10, bbb ee <blasforr@HIDDEN> wrote:
>
> > ```
> > 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.
> > ```
>
> Is it a bug on Guix side or upstream?  Because it seems that upstream
> does not provide metadata information, at least, as usually expected.
>
> Well, I have not yet inspected the PyPI package but it seems possible
> that it is incorrectly packaged with the Setuptools standard.
>
>
> > ## additional information
> > This user has encountered a similar issue for "guix import pypi httpie"
> > https://www.mail-archive.com/bug-guix@HIDDEN/msg14277.html
> >
> > However "guix import pypi httpie" runs for my version of guix.
>
> Well, =E2=80=9Cguix import pypi httpie=E2=80=9D works for me.
>
>
> Cheers,
> simon
>

--000000000000bf9dff05d46e72ce
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>&gt; Is it a bug on Guix side or upstream?=C2=A0 Beca=
use it seems that upstream<br>
&gt; does not provide metadata information, at least, as usually expected.<=
/div><div><br></div><div>`<span></span><span class=3D"gmail-n">pip</span> <=
span class=3D"gmail-n">install</span> <span class=3D"gmail-n">PyPortfolioOp=
t`</span>, `<span></span>poetry add PyPortfolioOpt` runs for me. If other p=
ython package installer can run, I suppose the upstream is correct. Unless =
Guix is not as powerful as other python package installers, and cannot work=
 for certain type of PyPi packages. In this case, can this be considered an=
 improvement to be made?</div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">Le=C2=A0mer. 29 d=C3=A9c. 2021 =C3=A0=C2=A018=
:09, zimoun &lt;<a href=3D"mailto:zimon.toutoune@HIDDEN">zimon.toutoune@=
gmail.com</a>&gt; a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">Hi,<br>
<br>
On Mon, 27 Dec 2021 at 22:10, bbb ee &lt;<a href=3D"mailto:blasforr@HIDDEN=
om" target=3D"_blank">blasforr@HIDDEN</a>&gt; wrote:<br>
<br>
&gt; ```<br>
&gt; guix import: warning: Failed to extract file:<br>
&gt; PyPortfolioOpt-1.5.1.dist-info/METADATA from wheel.<br>
&gt; guix import: warning: Cannot guess requirements from source archive: n=
o<br>
&gt; requires.txt file found.<br>
&gt; ```<br>
<br>
Is it a bug on Guix side or upstream?=C2=A0 Because it seems that upstream<=
br>
does not provide metadata information, at least, as usually expected.<br>
<br>
Well, I have not yet inspected the PyPI package but it seems possible<br>
that it is incorrectly packaged with the Setuptools standard.<br>
<br>
<br>
&gt; ## additional information<br>
&gt; This user has encountered a similar issue for &quot;guix import pypi h=
ttpie&quot;<br>
&gt; <a href=3D"https://www.mail-archive.com/bug-guix@HIDDEN/msg14277.html=
" rel=3D"noreferrer" target=3D"_blank">https://www.mail-archive.com/bug-gui=
x@HIDDEN/msg14277.html</a><br>
&gt;<br>
&gt; However &quot;guix import pypi httpie&quot; runs for my version of gui=
x.<br>
<br>
Well, =E2=80=9Cguix import pypi httpie=E2=80=9D works for me.<br>
<br>
<br>
Cheers,<br>
simon<br>
</blockquote></div>

--000000000000bf9dff05d46e72ce--




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

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


Received: (at 52836) by debbugs.gnu.org; 31 Dec 2021 11:00:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 31 06:00:52 2021
Received: from localhost ([127.0.0.1]:55185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3FeW-0007se-BE
	for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 06:00:52 -0500
Received: from mail-io1-f42.google.com ([209.85.166.42]:40595)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1n3FeU-0007sM-DH
 for 52836 <at> debbugs.gnu.org; Fri, 31 Dec 2021 06:00:50 -0500
Received: by mail-io1-f42.google.com with SMTP id q5so32396940ioj.7
 for <52836 <at> debbugs.gnu.org>; Fri, 31 Dec 2021 03:00:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=IB1HtQYEe4nKnZHMfefWhVTOHq3qv3q84aQCaKn7k/M=;
 b=ge7RuH80somS94PRBYCtQusROQUTzLc/aIN2+8tpQv5gx461ngIt5qbJFVBA/0n3Qv
 53s6JeIxqWavKlraBBk7957NGVn/GJC0/zj+dYL7xxRTCgu3mwP3C9JwQ7KklTj5wEPc
 LRciuPx1HGaoYoe0OtttbvZUa4fqK6vJ9Bbx0lNkm203lXhCcXy8ydMLWNY2NxvXrDBo
 /yQOxBjhAtgDW4gH74Rq+T2xcV/STn6rURGpllgNcngLh7+/R9u/GAHUd1PKl5YkaU23
 RV7Amsi1hO7VlvlZ6/+GmFvKeEBZF2cAGCtRo+ifPr2bjgDqLCuX8cnHKgh5j4z5RrxE
 k8Fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=IB1HtQYEe4nKnZHMfefWhVTOHq3qv3q84aQCaKn7k/M=;
 b=JvFwXUessCz4FNVA++EwnRtTFBZ3UwI6wJzG2i3J9eN9y5RzBT2bhdLLhekPD2UBM9
 F/liDlcRvRQefayxupRSu3csp8Lai4gsQ2l4fdxUpLCzuEBKUGSnVidCMMjQkX/7LTOk
 17HVnZEh0VlPnj4sH5BIEGA2tNJeS3hWfANysVB8YPIZzv5SXvL99bchVURgidQF4Rnp
 clQpfZSUIn8wUyzVo2YkNvMCNYMFkIUZ7a63LakEGNPETydqcvl7CNZOAQnTL8cML8Ei
 jSr0UWNMN62H2odFd//6ETGZYOOtkUyiic37hGmJ7Z204bA3PDiaDFIaQ624B34LgcOv
 +6Cg==
X-Gm-Message-State: AOAM532w7uQHKpr6O/9Fd8SVoispTXoHHWE5ANAiy+aw799AQcShOoZP
 2YhjEe5wxhymrK1pUq/mOL78qy8OO/k2GlENu78=
X-Google-Smtp-Source: ABdhPJygTUJUO6twr35mrnQZXJYFk1yLos1gk98ySmohKYGj9yRFlohbHsnoV19/c1XKVmJvWmFgu36qRV2xTOzXjaQ=
X-Received: by 2002:a5e:9905:: with SMTP id t5mr13103424ioj.16.1640948444666; 
 Fri, 31 Dec 2021 03:00:44 -0800 (PST)
MIME-Version: 1.0
References: <CALNLCmV1=yLA19wLy-WRahoEkvpMAk9ii9aLMyiNMWR7-jARbw@HIDDEN>
 <86y243ibr4.fsf@HIDDEN>
 <CALNLCmX0mYD8Ts6OaM8MKMEvu8h+hBW1u3Y8OS=R55pk5Hc-FA@HIDDEN>
In-Reply-To: <CALNLCmX0mYD8Ts6OaM8MKMEvu8h+hBW1u3Y8OS=R55pk5Hc-FA@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Fri, 31 Dec 2021 12:00:33 +0100
Message-ID: <CAJ3okZ3XoS1w5i7D2Q1JLT99UcJLW6uG_aH1bjmmUd5SZFrz4A@HIDDEN>
Subject: Re: bug#52836: "guix import pypi" fails with "Failed to extract file
 from wheel" and "no requires.txt file found"
To: bbb ee <blasforr@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 52836
Cc: 52836 <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 Fri, 31 Dec 2021 at 11:15, bbb ee <blasforr@HIDDEN> wrote:

> > Is it a bug on Guix side or upstream?  Because it seems that upstream
> > does not provide metadata information, at least, as usually expected.
>
> `pip install PyPortfolioOpt`, `poetry add PyPortfolioOpt` runs for me. If other python package installer can run, I suppose the upstream is correct.

Hum, not necessary.  Well, I do not think that 'pip' uses all the
metadata from PyPI to install.  'pip' does dirty things and yes it
just works :-)  But this does not imply that PyPortfolioOpt is
correctly packaged as it is defined by PyPI standards.  I do not know
'poetry'.

Anyway. :-)  I am not finding the PEP defining the Python packaging
and the structure for a PyPI package.  Because it is not clear for me
if it is a bug on Guix side or upstream.


Cheers,
simon




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

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


Received: (at 52836) by debbugs.gnu.org; 29 Dec 2021 17:09:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 29 12:09:43 2021
Received: from localhost ([127.0.0.1]:50192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n2cSM-00080X-Ut
	for submit <at> debbugs.gnu.org; Wed, 29 Dec 2021 12:09:43 -0500
Received: from mail-wm1-f50.google.com ([209.85.128.50]:40796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1n2cSK-00080H-Lm
 for 52836 <at> debbugs.gnu.org; Wed, 29 Dec 2021 12:09:41 -0500
Received: by mail-wm1-f50.google.com with SMTP id
 j140-20020a1c2392000000b003399ae48f58so14770567wmj.5
 for <52836 <at> debbugs.gnu.org>; Wed, 29 Dec 2021 09:09:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version
 :content-transfer-encoding;
 bh=AzpFypWaKYnl9CHlUFArrRAGve+UHfTU5NiFcX7hT84=;
 b=P6OP58OmlEEMIVxPUEsAP38QXR0kbncRyhyv/dIg7JKONX+w+ZDepMAvovG8A1MjJO
 4hY/lDtGy8fklA2dWBgjvjOML+lGI/+Gl2KvEIbWqBFCayELMY1VW00+V0muHJi3qNdu
 O0N2TxDSUg4jmhv1UIRfj2SaIIzYshuZtJes7IZSLBbVi0VX6bcfv6D4WHgGmSSENHVw
 n5bqCLfmBBzuWvInHyYTGQsRST1mOYo+iRkK1xTK6uaES0/1Jow2kzVbDL9yXYUDHmft
 0gzGOnNPHB3qeiHUtWk75FExnx7oKxngvQAMNLHKyDRqMHeNekVDtFX5X8u27w1Igmmz
 1SZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version:content-transfer-encoding;
 bh=AzpFypWaKYnl9CHlUFArrRAGve+UHfTU5NiFcX7hT84=;
 b=ojokxUsksgqFFvaYHhz0DwzB8vbfEoZynxygXiuBjldUe9id+M1SHLIjU2iHuEiiWq
 vFYt/hsipXznWUvVJOWpFlNpEjKcImKUmT6Kcxbrn9oib68yYtcp3Q1Qay40DQ+BX0w8
 GrobvaZeiS4G45iUZ7S+LKciqqDLkUlHbTNRPYclQZXOdR5fwTQIr26K7LkX1BnEnaRj
 sxsiRmkxZ+Axf64OHiAD/cZFFZ/Oyt4lsUUKD/DN2L7EpVasowHYNwURIUwlB0bGtSdm
 zgRY3KqyiAEtHSDlil0BTrUsxPhCcoZMvPzhKYYPnRzg7+cEHvcJA7bk/gBo4V67dT1K
 U6vw==
X-Gm-Message-State: AOAM532q09QTypr1uf3Ugc9cX+YTvgK3cDvt1EncUod8Sm19ho08F5E3
 r21DeDbrFwe8dH6rS4pB6LuKq9zoBMY=
X-Google-Smtp-Source: ABdhPJzPjfDVxr2iLf9+RPy4W/xoO2HElKEoUDo0piT4WGC/LuTkxQaE4mLotMSYlxdRceovvQJQSg==
X-Received: by 2002:a05:600c:33a5:: with SMTP id
 o37mr22850239wmp.83.1640797774830; 
 Wed, 29 Dec 2021 09:09:34 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id o10sm12743913wmq.31.2021.12.29.09.09.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 29 Dec 2021 09:09:34 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
To: bbb ee <blasforr@HIDDEN>, 52836 <at> debbugs.gnu.org
Subject: Re: bug#52836: "guix import pypi" fails with "Failed to extract
 file from wheel" and "no requires.txt file found"
In-Reply-To: <CALNLCmV1=yLA19wLy-WRahoEkvpMAk9ii9aLMyiNMWR7-jARbw@HIDDEN>
References: <CALNLCmV1=yLA19wLy-WRahoEkvpMAk9ii9aLMyiNMWR7-jARbw@HIDDEN>
Date: Wed, 29 Dec 2021 18:03:59 +0100
Message-ID: <86y243ibr4.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: 52836
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 Mon, 27 Dec 2021 at 22:10, bbb ee <blasforr@HIDDEN> wrote:

> ```
> 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.
> ```

Is it a bug on Guix side or upstream?  Because it seems that upstream
does not provide metadata information, at least, as usually expected.

Well, I have not yet inspected the PyPI package but it seems possible
that it is incorrectly packaged with the Setuptools standard.


> ## additional information
> This user has encountered a similar issue for "guix import pypi httpie"
> https://www.mail-archive.com/bug-guix@HIDDEN/msg14277.html
>
> However "guix import pypi httpie" runs for my version of guix.

Well, =E2=80=9Cguix import pypi httpie=E2=80=9D works for me.


Cheers,
simon




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

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


Received: (at submit) by debbugs.gnu.org; 27 Dec 2021 23:53:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 27 18:53:32 2021
Received: from localhost ([127.0.0.1]:44651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n1zo1-0001Vz-L7
	for submit <at> 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 <blasforr@HIDDEN>) id 1n1xGa-0005DQ-8i
 for submit <at> 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 <blasforr@HIDDEN>)
 id 1n1xGa-0004Dp-2P
 for bug-guix@HIDDEN; 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 <blasforr@HIDDEN>)
 id 1n1xGY-0000ww-7B
 for bug-guix@HIDDEN; Mon, 27 Dec 2021 16:10:47 -0500
Received: by mail-yb1-xb2a.google.com with SMTP id f9so50626675ybq.10
 for <bug-guix@HIDDEN>; 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 <blasforr@HIDDEN>
Date: Mon, 27 Dec 2021 22:10:32 +0100
Message-ID: <CALNLCmV1=yLA19wLy-WRahoEkvpMAk9ii9aLMyiNMWR7-jARbw@HIDDEN>
Subject: "guix import pypi" fails with "Failed to extract file from wheel" and
 "no requires.txt file found"
To: bug-guix@HIDDEN
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@HIDDEN; 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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 27 Dec 2021 18:53:28 -0500
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.3 (--)

--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@HIDDEN/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

<div dir=3D"ltr"><div>Hello,</div><div>I have encounter a issue with &quot;=
guix import pypi&quot; :</div><div>```</div><div>guix import: warning: Fail=
ed to extract file: PyPortfolioOpt-1.5.1.dist-info/METADATA from wheel.<br>=
guix import: warning: Cannot guess requirements from source archive: no req=
uires.txt file found.</div><div>```</div><div>## reproduce the bug<br></div=
><div><br></div><div>```</div><div>(base) guix import pypi =C2=A0PyPortfoli=
oOpt<br>following redirection to `<a href=3D"https://pypi.org/pypi/pyportfo=
lioopt/json&#39;.">https://pypi.org/pypi/pyportfolioopt/json&#39;.</a>..<br=
><br>Starting download of /tmp/guix-file.mwZdLg<br>From <a href=3D"https://=
files.pythonhosted.org/packages/97/c2/c7569f2773f3e942367e90dcca15a235af3d3=
330ac8abfcbfbe67a8ba8dd/PyPortfolioOpt-1.5.1.tar.gz.">https://files.pythonh=
osted.org/packages/97/c2/c7569f2773f3e942367e90dcca15a235af3d3330ac8abfcbfb=
e67a8ba8dd/PyPortfolioOpt-1.5.1.tar.gz.</a>..<br>=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%<br><br>Starting download of /tmp/guix-file=
.mHBgak<br>From <a href=3D"https://files.pythonhosted.org/packages/90/98/39=
06835b783ba39cfc613c7b0c0fde9c758c729ff3406d45f1c2a1116961/PyPortfolioOpt-1=
.5.1-py3-none-any.whl.">https://files.pythonhosted.org/packages/90/98/39068=
35b783ba39cfc613c7b0c0fde9c758c729ff3406d45f1c2a1116961/PyPortfolioOpt-1.5.=
1-py3-none-any.whl.</a>..<br>=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%<br>guix import: warning: Failed to extract file: PyPortfolioOpt-1.5.1.di=
st-info/METADATA from wheel.<br>guix import: warning: Cannot guess requirem=
ents from source archive: no requires.txt file found.<br>(package<br>=C2=A0=
 (name &quot;python-pyportfolioopt&quot;)<br>=C2=A0 (version &quot;1.5.1&qu=
ot;)<br>=C2=A0 (source<br>=C2=A0 =C2=A0 (origin<br>=C2=A0 =C2=A0 =C2=A0 (me=
thod url-fetch)<br>=C2=A0 =C2=A0 =C2=A0 (uri (pypi-uri &quot;pyportfolioopt=
&quot; version))<br>=C2=A0 =C2=A0 =C2=A0 (sha256<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 (base32 &quot;162d6jyvba0xk2blssbp52rrjqpjv011h988k150p1fg7x7nzbs9&q=
uot;))))<br>=C2=A0 (build-system python-build-system)<br>=C2=A0 (home-page =
&quot;<a href=3D"https://github.com/robertmartin8/PyPortfolioOpt">https://g=
ithub.com/robertmartin8/PyPortfolioOpt</a>&quot;)<br>=C2=A0 (synopsis &quot=
;Financial portfolio optimization in python&quot;)<br>=C2=A0 (description &=
quot;Financial portfolio optimization in python&quot;)<br>=C2=A0 (license l=
icense:expat))<br>(base) guix describe<br>Generation 220	Dec 27 2021 12:01:=
04	(current)<br>=C2=A0 guix 9bbbac6<br>=C2=A0 =C2=A0 repository URL: <a hre=
f=3D"https://git.savannah.gnu.org/git/guix.git">https://git.savannah.gnu.or=
g/git/guix.git</a><br>=C2=A0 =C2=A0 branch: master<br>=C2=A0 =C2=A0 commit:=
 9bbbac6783bcdace17d967e85c8ae8d14cbf1ef9<br></div><div>```</div><div>## ad=
ditional information<br></div><div>This user has encountered a similar issu=
e for &quot;guix import pypi httpie&quot;</div><div><a href=3D"https://www.=
mail-archive.com/bug-guix@HIDDEN/msg14277.html">https://www.mail-archive.c=
om/bug-guix@HIDDEN/msg14277.html</a></div><div><br></div><div>However &quo=
t;guix import pypi httpie&quot; runs for my version of guix.<br></div></div=
>

--000000000000375fb205d42723f1--




Acknowledgement sent to bbb ee <blasforr@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#52836; 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: Fri, 31 Dec 2021 12:30:02 UTC

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