unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: bbb ee <blasforr@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 52836@debbugs.gnu.org
Subject: bug#52836: "guix import pypi" fails with "Failed to extract file from wheel" and "no requires.txt file found"
Date: Fri, 31 Dec 2021 11:15:09 +0100	[thread overview]
Message-ID: <CALNLCmX0mYD8Ts6OaM8MKMEvu8h+hBW1u3Y8OS=R55pk5Hc-FA@mail.gmail.com> (raw)
In-Reply-To: <86y243ibr4.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

> 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éc. 2021 à 18:09, zimoun <zimon.toutoune@gmail.com> a écrit :

> 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: 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, “guix import pypi httpie” works for me.
>
>
> Cheers,
> simon
>

[-- Attachment #2: Type: text/html, Size: 2230 bytes --]

  reply	other threads:[~2021-12-31 12:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 21:10 bug#52836: "guix import pypi" fails with "Failed to extract file from wheel" and "no requires.txt file found" bbb ee
2021-12-29 17:03 ` zimoun
2021-12-31 10:15   ` bbb ee [this message]
2021-12-31 11:00     ` zimoun
2022-03-08 10:14       ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALNLCmX0mYD8Ts6OaM8MKMEvu8h+hBW1u3Y8OS=R55pk5Hc-FA@mail.gmail.com' \
    --to=blasforr@gmail.com \
    --cc=52836@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).