From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UBC7DIr1zmF1kQAAgWs5BA (envelope-from ) for ; Fri, 31 Dec 2021 13:20:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kEZhCYr1zmE+cwEAauVa8A (envelope-from ) for ; Fri, 31 Dec 2021 13:20:26 +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 8940A32FB0 for ; Fri, 31 Dec 2021 13:20:25 +0100 (CET) Received: from localhost ([::1]:46682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3GtU-0004Xd-Fn for larch@yhetil.org; Fri, 31 Dec 2021 07:20:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3GqF-0000DQ-UQ for bug-guix@gnu.org; Fri, 31 Dec 2021 07:17:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3GqF-0004Wg-Ir for bug-guix@gnu.org; Fri, 31 Dec 2021 07:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3GqF-000235-FO for bug-guix@gnu.org; Fri, 31 Dec 2021 07:17:03 -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: Fri, 31 Dec 2021 12:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52836 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Received: via spool by 52836-submit@debbugs.gnu.org id=B52836.16409530177819 (code B ref 52836); Fri, 31 Dec 2021 12:17:03 +0000 Received: (at 52836) by debbugs.gnu.org; 31 Dec 2021 12:16:57 +0000 Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3Gq9-000222-Av for submit@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 ) id 1n3EwX-0006QK-T5 for 52836@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@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: <86y243ibr4.fsf@gmail.com> In-Reply-To: <86y243ibr4.fsf@gmail.com> From: bbb ee Date: Fri, 31 Dec 2021 11:15:09 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000bf9dff05d46e72ce" X-Mailman-Approved-At: Fri, 31 Dec 2021 07:16:55 -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: , Cc: 52836@debbugs.gnu.org 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=1640953225; 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: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=m95weSOsDMR8YAjX4dL0727wdl9OobakxnbKGlYb7VA=; b=jRa+9uQC4ARz/zf35lLEqJxBQylGo0yV+PyLKCQeX5fplLbAsVla045gJ/bqxrIjyZdvCb ysPQ4HHfe0O4t+OCJtd6EcJw3TtMXkOYuEjHs0nonlSnzK9QmsfH6kXbDUnYDSz0q3HHfh WgrppbVeJKpVJbF9Grdgd1JTgj68bG5wgAm9FWzeiStNjTdaR5cYh6vlZhhuPlRVDfZPMl oRwzSmQmZDLGL3mwFpdDX3a9aLb3t80p5Yr/+kQr7LMLC2nQRMnrx/hkjtB4UrF3eCUWAu O+F51VG4MrUq6pFybX6I0yW3jE3fh5mAyk4fm3x0uVV5PcnAqsMLPVPoRLKbFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640953225; a=rsa-sha256; cv=none; b=BZAY5UXudA1CcoI3jkSOwHx3Z0LkD7L3kIcIGpgzvdun7lHqqEROQvdf3Iv4Vl40ncaMFV hq3BwRurTPJ1/8UYJDEzQdJkeLh/KHVzCrWpI6Iq9xtXAjeqjsuy3ALG5NPQ2gDaIFPQYD X9hZqnwwEaA9prSt6EFvNeK2i1ScnntEnqjFAhlTwIW9VxSIK2MmRiSgzMHJuLHp3hTAvZ SZ5gIkRmYgafOu9/ThcRpFXzf9WXWdSLQkUcVieER39mOlVAQaZR0PMncss9VAxgx49n6e VaK+cgu1TZ8JKuTbVZD+LF5kmFEVbJdiePNG1D1YZXz7tvs57wSTaATzCwO5/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NBV25Tr6; 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.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NBV25Tr6; 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: 8940A32FB0 X-Spam-Score: -1.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5VhuQNTndcSC --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 a= =C3=A9crit : > Hi, > > On Mon, 27 Dec 2021 at 22:10, bbb ee 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@gnu.org/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
> Is it a bug on Guix side or upstream?=C2=A0 Beca= use it seems that upstream
> does not provide metadata information, at least, as usually expected.<= /div>

`pip <= span class=3D"gmail-n">install PyPortfolioOp= t`, `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?

Le=C2=A0mer. 29 d=C3=A9c. 2021 =C3=A0=C2=A018= :09, zimoun <zimon.toutoune@= gmail.com> a =C3=A9crit=C2=A0:
Hi,

On Mon, 27 Dec 2021 at 22:10, bbb ee <blasforr@gmail.com> 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: n= o
> requires.txt file found.
> ```

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.

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 h= ttpie"
> https://www.mail-archive.com/bug-gui= x@gnu.org/msg14277.html
>
> However "guix import pypi httpie" runs for my version of gui= x.

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


Cheers,
simon
--000000000000bf9dff05d46e72ce--