unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Jack Hill <jackhill@jackhill.us>, guix-devel@gnu.org
Subject: Re: pypi URL 404
Date: Fri, 10 May 2019 20:11:52 +0200	[thread overview]
Message-ID: <87r296b2mv.fsf@fastmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1905101107400.30127@marsh.hcoop.net>

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

Jack Hill <jackhill@jackhill.us> writes:

> Hi Guix,
>
> I've created the following package definition using the pypi importer. 
> However, when I try to build it with guix build -f … the build fails 
> because it cannot download the source. The downloader gets redirected to a 
> url that returns 404. However, the pypi importer was able download the 
> source.

It seems no proper source tarball is available on PyPI, only a "wheel":

<https://pypi.org/project/mallard-ducktype/>

The importer uses those to extract requirements.txt, and apparently
returns the wheel hash when it fails to find a proper source.  That is
probably a bug.

In this case it is probably easiest to download the source from the
upstream repository, or ask the maintainer to upload a tarball.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-05-10 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 15:16 pypi URL 404 Jack Hill
2019-05-10 18:11 ` Marius Bakke [this message]
2019-05-10 18:55   ` Jack Hill

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=87r296b2mv.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=guix-devel@gnu.org \
    --cc=jackhill@jackhill.us \
    /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).