GNU bug report logs - #49083
‘guix import pypi’ fails in the absence of “sdist” releases

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 18 Jun 2021 07:34:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49083: closed (‘guix import
 pypi’ fails in the absence of “sdist”
 releases)
Date: Wed, 02 Feb 2022 17:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Feb 2022 18:46:49 +0100
with message-id <87r18lqhyu.fsf <at> gnu.org>
and subject line Re: bug#49083: ‘guix import pypi’ fails in the absence of “sdist” releases
has caused the debbugs.gnu.org bug report #49083,
regarding ‘guix import pypi’ fails in the absence of “sdist” releases
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49083: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49083
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: <bug-guix <at> gnu.org>
Subject: ‘guix import pypi’ fails in
 the absence of “sdist” releases
Date: Fri, 18 Jun 2021 09:33:13 +0200
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’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49083-done <at> debbugs.gnu.org
Subject: Re: bug#49083: ‘guix import pypi’ fails in the absence of “sdist”
 releases
Date: Wed, 02 Feb 2022 18:46:49 +0100
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’.


This bug report was last modified 3 years and 106 days ago.

Previous Next


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