unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* pypi URL change
@ 2016-04-24  7:27 Ben Woodcroft
  2016-04-24 22:26 ` Cyril Roelandt
  0 siblings, 1 reply; 13+ messages in thread
From: Ben Woodcroft @ 2016-04-24  7:27 UTC (permalink / raw)
  To: guix-devel@gnu.org

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

Hi,

Today I tried using pypi-url to autogenerate a package that was only 
released today. Unfortunately, it seems that the URL scheme has changed 
and I was unable to download, though I believe this only affects newly 
released package versions. I found this on the nix mailing list:
http://comments.gmane.org/gmane.linux.distributions.nixos/20158

>    So, previously PyPI used URLs like :
>//packages//{python version}/{name[0]}/{name}/{filename}
>
>    Now it uses:
>//packages//{hash[:2]}/{hash[2:4]}/{hash[4:]}/{filename}
>    Where hash is blake2b(file_content, digest_size=32).hexdigest().lower()

Is there a blake2b implemented in Guile? In the meantime, the URL will have to be specified manually: 'guix import pypi ...' provides the correct and updated URL.

ben


[-- Attachment #2: Type: text/html, Size: 1145 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-06-25 17:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-24  7:27 pypi URL change Ben Woodcroft
2016-04-24 22:26 ` Cyril Roelandt
2016-04-24 23:21   ` Ben Woodcroft
2016-04-25  0:13     ` Cyril Roelandt
2016-04-25  1:44       ` Ben Woodcroft
2016-04-25  7:54       ` Ludovic Courtès
2016-04-26 11:46         ` Ben Woodcroft
2016-04-27 12:25           ` Ludovic Courtès
2016-06-17 22:33             ` Ben Woodcroft
2016-06-17 22:33               ` [PATCH 1/3] build-system/python: Add pypi-origin Ben Woodcroft
2016-06-17 22:33               ` [PATCH 2/3] gnu: Add python-screed Ben Woodcroft
2016-06-25 17:44                 ` Leo Famulari
2016-06-17 22:33               ` [PATCH 3/3] not a real patch Ben Woodcroft

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).