From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: pypi URL 404 Date: Fri, 10 May 2019 20:11:52 +0200 Message-ID: <87r296b2mv.fsf@fastmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP9zx-0004J8-Ae for guix-devel@gnu.org; Fri, 10 May 2019 14:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP9zw-0002p3-8m for guix-devel@gnu.org; Fri, 10 May 2019 14:11:57 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58945) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hP9zw-0002oA-1E for guix-devel@gnu.org; Fri, 10 May 2019 14:11:56 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jack Hill , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jack Hill writes: > Hi Guix, > > I've created the following package definition using the pypi importer.=20 > However, when I try to build it with guix build -f =E2=80=A6 the build fa= ils=20 > because it cannot download the source. The downloader gets redirected to = a=20 > url that returns 404. However, the pypi importer was able download the=20 > source. It seems no proper source tarball is available on PyPI, only a "wheel": 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlzVvugACgkQoqBt8qM6 VPoIBwf/ei9XJEZKGz/R/KAitXZL/Slfnh97gzGPY2sZA9qYZPwLelP24HT+QTev chYxKSEjHe2hrZBUDofYCp+FwrmQbzVxn+pvWM9FRmoh3D8d4lQiu7wV6bFG4sYa yNtXoOZDAZfYz/+aXCXEcwVAjNtEjRM/CuXZk3hly5Q7l1tnYVoYzAE/g8ubBbEk C3za/KlgFd7pMl61wJlMrv8EGnrXGTSawNqjDDG7HnBqqtWuXC4AF0QSfkI58UK8 ZUP4sOPt7OTVu2r0zKUfg7XRgH2Q0dH4PjJejkKfXjw7HnzU1n/m+rsHCWgqHMAS EwU+1f74y+UQKKnPdmOsrzByTSSryA== =XXIx -----END PGP SIGNATURE----- --=-=-=--