pypi download links (e.g. for ansible)

Michael Ströder michael at stroeder.com
Mon May 9 07:35:47 EDT 2016


Steven D'Aprano wrote:
> On Mon, 9 May 2016 08:00 pm, Michael Strc3b6der wrote:
> 
>> HI!
>>
>> Deep-links for downloading a specific version from PyPI seemed to work
>> like this:
>>
>> $ wget
>> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
>> [..]
>> Saving to: ‘ansible-2.0.1.0.tar.gz’
>>
>> But this recent version does not work:
>>
>> $ wget
>> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.2.0.tar.gz
>> [..]
>> HTTP request sent, awaiting response... 404 Not Found
> 
> 
> Do you have a question, or are you just sharing?
> 
> The Download button for 2.0.2.0 links to:
> 
> https://pypi.python.org/packages/b3/0e/5f3ee8884866a3d5e3b8ba86e9caa85ecdec75adabac8924b1c122339e7f/ansible-2.0.2.0.tar.gz

Yes, but in .spec files of openSUSE RPMs the more readable links above are used
and I'd like to keep it that way. And openSUSE build service checks whether it's
downloadable. It works for ansible-2.0.1.0 but not for 2.0.2.0.

Ciao, Michael.




More information about the Python-list mailing list