Re: pypi URL change

2016-06-17 Thread Ben Woodcroft
>> So I think we must either write the hash or the entire URL into the >> package, or grab the json from pypi each time we download. >The former, I guess. > >I guess the hash is SHA1, right? > >Maybe we could make something like: > > (define-syntax-rule (pypi-origin package sha1 sha256-string) >

Re: pypi URL change

2016-04-27 Thread Ludovic Courtès
Ben Woodcroft skribis: > Hmm. It just dawned on me that it is impossible to implement the > pypi-uri so that it returns the new format because the new URI is > generated from the content of the package, not just the name and > version. Oh indeed. > So I think we must either write the hash or th

Re: pypi URL change

2016-04-26 Thread Ben Woodcroft
On 25/04/16 17:54, Ludovic Courtès wrote: Cyril Roelandt skribis: On 04/25/2016 01:21 AM, Ben Woodcroft wrote: 2) The new URLs are even uglier than the old one and a working pypi-uri would hide them from our eyes. Yeah but it is my understanding that the new pattern will only be applied to

Re: pypi URL change

2016-04-25 Thread Ludovic Courtès
Cyril Roelandt skribis: > On 04/25/2016 01:21 AM, Ben Woodcroft wrote: >> 2) The new URLs are even uglier than the old one and a working pypi-uri >> would hide them from our eyes. > > Yeah but it is my understanding that the new pattern will only be > applied to new releases, so how will pypi-ur

Re: pypi URL change

2016-04-24 Thread Ben Woodcroft
On 25/04/16 10:13, Cyril Roelandt wrote: On 04/25/2016 01:21 AM, Ben Woodcroft wrote: 2) The new URLs are even uglier than the old one and a working pypi-uri would hide them from our eyes. Yeah but it is my understanding that the new pattern will only be applied to new releases, so how will p

Re: pypi URL change

2016-04-24 Thread Cyril Roelandt
On 04/25/2016 01:21 AM, Ben Woodcroft wrote: > 2) The new URLs are even uglier than the old one and a working pypi-uri > would hide them from our eyes. Yeah but it is my understanding that the new pattern will only be applied to new releases, so how will pypi-uri know what pattern to apply? Cyri

Re: pypi URL change

2016-04-24 Thread Ben Woodcroft
On 25/04/16 08:26, Cyril Roelandt wrote: On 04/24/2016 09:27 AM, Ben Woodcroft wrote: 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 affec

Re: pypi URL change

2016-04-24 Thread Cyril Roelandt
On 04/24/2016 09:27 AM, Ben Woodcroft wrote: > 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 versi

pypi URL change

2016-04-24 Thread Ben Woodcroft
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://comme