Re: [Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-26 Thread Domen Kožar
This is now fixed in master, we should also backport to 16.03 Thanks to Freddy: https://github.com/NixOS/nixpkgs/commit/d5e6a4494a2eb00e52b309fc7a196d84ff8625ec On Thu, Apr 21, 2016 at 7:27 AM, Dario Bertini wrote: > I also started to write some code to automate discovery

Re: [Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-21 Thread Dario Bertini
I also started to write some code to automate discovery of python package dependencies. Unfortunately I haven't had the chance to keep working on it. And some of the formats are quite ambiguous (does the lack of a run_requires key mean that we should look for the information somewhere else,

Re: [Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-21 Thread Freddy Rietdijk
Thanks for the update. There are indeed some things we can automate. Before, I experimented with using one of the API's to get out as much metadata as possible. We could also use pypi2nix, which can give for more information, but requires downloading all files. Unfortunately, the old site still

Re: [Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-20 Thread Graham Christensen
Profpatsch writes: > Maybe it’s time to automate what we can? Similar to Hackage? I'm not too familiar with what is done with Hackage, but I think what we have for Python isn't a good approach. I have a meeting with dstufft to try and come up with a better solution. It might

Re: [Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-20 Thread Profpatsch
On 16-04-20 11:41am, Graham Christensen wrote: > I recently got word that PyPi is changing their URL scheme. > > Old example: > https://pypi.python.org/packages/source/a/ansible/ansible-1.8.2.tar.gz#md5=c2ac0e5a4c092dfa84c7e9e51cd45095 > > New example: >

[Nix-dev] Upcoming PyPi URL Scheme Change

2016-04-20 Thread Graham Christensen
Hello Nixers, I recently got word that PyPi is changing their URL scheme. Old example: https://pypi.python.org/packages/source/a/ansible/ansible-1.8.2.tar.gz#md5=c2ac0e5a4c092dfa84c7e9e51cd45095 New example: