unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52836: "guix import pypi" fails with "Failed to extract file from wheel" and "no requires.txt file found"
@ 2021-12-27 21:10 bbb ee
  2021-12-29 17:03 ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: bbb ee @ 2021-12-27 21:10 UTC (permalink / raw)
  To: 52836

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

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/c7569f2773f3e942367e90dcca15a235af3d3330ac8abfcbfbe67a8ba8dd/PyPortfolioOpt-1.5.1.tar.gz.
..
 …t-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/3906835b783ba39cfc613c7b0c0fde9c758c729ff3406d45f1c2a1116961/PyPortfolioOpt-1.5.1-py3-none-any.whl.
..
 ….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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-08 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-12-31 11:00     ` zimoun
2022-03-08 10:14       ` zimoun

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