From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 74514@debbugs.gnu.org
Subject: bug#74514: ‘guix import pypi -r’ should continue upon missing source
Date: Sun, 24 Nov 2024 21:53:54 +0100 [thread overview]
Message-ID: <87bjy4pd3x.fsf@inria.fr> (raw)
Hello,
Currently, ‘guix import pypi -r’ stops on the first issue encountered
without emitting anything:
--8<---------------cut here---------------start------------->8---
$ 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'.
--8<---------------cut here---------------end--------------->8---
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’.
reply other threads:[~2024-11-24 20:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87bjy4pd3x.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=74514@debbugs.gnu.org \
/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).