Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108421 > unrolled thread

pypi download links (e.g. for ansible)

Started byMichael Ströder <michael@stroeder.com>
First post2016-05-09 12:00 +0200
Last post2016-05-09 17:26 +0200
Articles 6 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  pypi download links (e.g. for ansible) Michael Ströder <michael@stroeder.com> - 2016-05-09 12:00 +0200
    Re: pypi download links (e.g. for ansible) harirammanohar@gmail.com - 2016-05-09 03:16 -0700
      Re: pypi download links (e.g. for ansible) Michael Ströder <michael@stroeder.com> - 2016-05-09 12:27 +0200
    Re: pypi download links (e.g. for ansible) Steven D'Aprano <steve@pearwood.info> - 2016-05-09 20:44 +1000
      Re: pypi download links (e.g. for ansible) Michael Ströder <michael@stroeder.com> - 2016-05-09 13:35 +0200
        Re: pypi download links (e.g. for ansible) Chris Warrick <kwpolska@gmail.com> - 2016-05-09 17:26 +0200

#108421 — pypi download links (e.g. for ansible)

FromMichael Ströder <michael@stroeder.com>
Date2016-05-09 12:00 +0200
Subjectpypi download links (e.g. for ansible)
Message-ID<ngpmsu$eed$1@dont-email.me>
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.

[toc] | [next] | [standalone]


#108423

Fromharirammanohar@gmail.com
Date2016-05-09 03:16 -0700
Message-ID<21a4b51c-f1c1-42b5-8810-91ac4012d279@googlegroups.com>
In reply to#108421
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.

[toc] | [prev] | [next] | [standalone]


#108426

FromMichael Ströder <michael@stroeder.com>
Date2016-05-09 12:27 +0200
Message-ID<ngpogd$k05$1@dont-email.me>
In reply to#108423
harirammanohar@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.

[toc] | [prev] | [next] | [standalone]


#108427

FromSteven D'Aprano <steve@pearwood.info>
Date2016-05-09 20:44 +1000
Message-ID<57306a11$0$1616$c3e8da3$5496439d@news.astraweb.com>
In reply to#108421
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

[toc] | [prev] | [next] | [standalone]


#108428

FromMichael Ströder <michael@stroeder.com>
Date2016-05-09 13:35 +0200
Message-ID<ngpsg0$1ko$1@dont-email.me>
In reply to#108427
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.

[toc] | [prev] | [next] | [standalone]


#108431

FromChris Warrick <kwpolska@gmail.com>
Date2016-05-09 17:26 +0200
Message-ID<mailman.547.1462807577.32212.python-list@python.org>
In reply to#108428
On 9 May 2016 at 13:35, Michael Ströder <michael@stroeder.com> 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 <https://chriswarrick.com/>
PGP: 5EAAEA16

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web