‘guix import pypi -r’ should continue upon missing source

  • Open
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote 3 days ago
(address . bug-guix@gnu.org)
87bjy4pd3x.fsf@inria.fr
Hello,

Currently, ‘guix import pypi -r’ stops on the first issue encountered
without emitting anything:

Toggle snippet (25 lines)
$ guix import pypi nipype -r

Starting download of /tmp/guix-file.p7PvGO
From https://files.pythonhosted.org/packages/71/a3/21d7da0d9da534fd4ec7b382b8511a6eeb7f962085a6d6fb2ec9329c459d/nipype-1.9.1.tar.gz...
…9.1.tar.gz 2.8MiB 41.8MiB/s 00:00 ???????????????????? 100.0%

Starting download of /tmp/guix-file.N0fQlv
From https://files.pythonhosted.org/packages/fc/f7/f82b34579f9ae6759aa8b1cec9640d60b6a8db28eaebcf2f88fd8e98650e/nipype-1.9.1-py3-none-any.whl...
…y3-none-any.whl 3.1MiB 43.4MiB/s 00:00 ???????????????????? 100.0%

Starting download of /tmp/guix-file.EjPKZq
From https://files.pythonhosted.org/packages/b7/ce/76ca23e81d650fa90b558a882007eb563a0bbb135d1e2f3959aa92ffb4bb/acres-0.1.0.tar.gz...
….0.tar.gz 9KiB 6.4MiB/s 00:00 ???????????????????? 100.0%

Starting download of /tmp/guix-file.zXCtBc
From https://files.pythonhosted.org/packages/ef/76/341a0bec7d8159569eee18c9838cad0802a1c31775c195d5a146bdcdd1bb/acres-0.1.0-py3-none-any.whl...
…3-none-any.whl 9KiB 7.5MiB/s 00:00 ???????????????????? 100.0%
guix import: error: no source release for pypi package etelemetry 0.3.1

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/sensein/etelemetry-client'.


Several people already suggested that it would be more helpful to emit
something, including possibly a mere template for the faulty package,
than to emit nothing.

In the missing source case as above, I think the importer could actually
automatically switch to importing from a Git clone since it has all the
info.

Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74514@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74514
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch