Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Chris Warrick
On 9 May 2016 at 13:35, Michael Ströder  wrote:
> 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.
>
> --
> https://mail.python.org/mailman/listinfo/python-list

PyPI URLs were changed recently. There is, however, a new supported
way to get dependable URLs:
https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package

The current link:
https://files.pythonhosted.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz

(URLs in the pypi.io domain were used briefly and will still work)

-- 
Chris Warrick 
PGP: 5EAAEA16
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
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.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Steven D'Aprano
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

if that helps.


-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
harirammano...@gmail.com wrote:
> On Monday, May 9, 2016 at 3:30:31 PM UTC+5:30, Michael Ströder 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
> 
> how its working for you, for me it says ssl connection error,if i do wget 
> from linux as root user.

On my Linux installation the usually Mozilla web browser CA cert bundle is
installed.

Ciao, Michael.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pypi download links (e.g. for ansible)

2016-05-09 Thread harirammanohar
On Monday, May 9, 2016 at 3:30:31 PM UTC+5:30, Michael Ströder 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
> 
> Ciao, Michael.

how its working for you, for me it says ssl connection error,if i do wget from 
linux as root user.
-- 
https://mail.python.org/mailman/listinfo/python-list


pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
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

Ciao, Michael.
-- 
https://mail.python.org/mailman/listinfo/python-list