--- Begin Message ---
Subject: |
‘guix import pypi’ fails in the absence of “sdist” releases |
Date: |
Fri, 18 Jun 2021 09:33:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
For some packages we get this:
--8<---------------cut here---------------start------------->8---
$ guix import pypi jaxlib
guix import: error: no source release for pypi package jaxlib 0.1.67
--8<---------------cut here---------------end--------------->8---
and indeed, there’s no “sdist” (source distribution), only
“bdist_wheel” (.whl files).
Nevertheless, should the importer do something smarter here? The
metadata at <https://pypi.org/pypi/jaxlib/json> doesn’t contain info
about the source repository (though it contains the home page at
github.com). Would it make sense to build from a .whl file or does this
necessarily include generated code and other byproducts?
Thanks,
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#49083: ‘guix import pypi’ fails in the absence of “sdist” releases |
Date: |
Wed, 02 Feb 2022 18:46:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi!
So for now I “fixed” it by displaying a hint in commit
00762a4c4c8ecdd71cccf6afdd87ae68bf9b4964.
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import pypi jaxlib
guix import: error: no source release for pypi package jaxlib 0.1.76
hint: This indicates that the package is available on PyPI, but only as a
"wheel" containing
binaries, not source. To build it from source, refer to the upstream
repository at
`https://github.com/google/jax'.
--8<---------------cut here---------------end--------------->8---
Ludo’.
--- End Message ---