Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Warrick Newsgroups: comp.lang.python Subject: Re: pypi download links (e.g. for ansible) Date: Mon, 9 May 2016 17:26:15 +0200 Lines: 56 Message-ID: References: <57306a11$0$1616$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de TTt27GJ6MtbCEmfwDIlgcQyzizjneLSftRoIzWv9KLgg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'url:bitbucket': 0.05; 'pypi': 0.07; 'seemed': 0.07; 'cc:addr :python-list': 0.09; 'received:209.85.218': 0.10; '2016': 0.16; '404': 0.16; 'michael.': 0.16; 'readable': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'recently.': 0.16; 'subject:download': 0.16; 'subject:pypi': 0.16; 'url:gz': 0.16; 'url:issues': 0.16; 'url:packages': 0.16; 'url:tar': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'this:': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'chris': 0.26; 'supported': 0.27; 'message-id:@mail.gmail.com': 0.27; 'url:mailman': 0.30; 'checks': 0.30; "i'd": 0.31; 'changed': 0.33; 'url:python': 0.33; 'michael': 0.33; "d'aprano": 0.33; 'downloading': 0.33; 'http': 0.33; 'steven': 0.33; 'subject:links': 0.33; 'url:listinfo': 0.34; 'received:google.com': 0.35; 'question,': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'url:source': 0.36; 'urls': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'version': 0.38; 'received:209': 0.38; 'button': 0.38; 'files': 0.38; 'does': 0.39; 'url:mail': 0.40; 'build': 0.40; 'still': 0.40; 'more': 0.63; 'url:0': 0.63; 'subject:. ': 0.67; 'link:': 0.69; '8bit%:21': 0.70; 'saving': 0.70; 'url:a': 0.75; 'awaiting': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=t5tvdMar5R3kpjIX0rr6IC/2iM92IAkogTb3ym4Cg0w=; b=xlxcCwT5NXZ4FQAyTxglodaPC+DBJO/63JQwYg5f2sz6gdHXPS/UmBKk8s3He3U0QD fbIH7AKmZlOMMT3BwD1M74aor1bpyPOAwatWoBITT0FsQ4nu8dVAgk6IyDBMCaKE+/ht lzwhnB23oWs0WUKaHDPdmxVjyWw1l+9BgeXraUUpojdul1WOYHG8Cub45ganrD1hG77d ZRkINKkv76XivVw9S3ME04UUOq1plLMyNEGV2x5wJkdgTo05RFXkwpGQbA7qBTu4HI0g os2rVYZHVRZlxdP7+V6SX4q3JwpKbkkORVu2UI6ntrwXnD33woo7Osc2examULfkJx3b 7Xbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=t5tvdMar5R3kpjIX0rr6IC/2iM92IAkogTb3ym4Cg0w=; b=da+nXYL7ZWNuGeP361rfZ5A95aftPbcoYGcS/ujKXcCTQUZDQFqqWWVPvv4uk/2Ej+ sZ0pXSExgzmpOZUln1UX2p3vo63y0rVP4p1g9RVrn7pa0MO0A8axC1jJkj0Y7P75/+hY HzPmPD+Aed4gMdLm0a1esTw1PD+8D6Ogp6wAt4hbMbloAUsBkjg8qg2rNU4Hj1x/RboR vrxHvMFWjahx29rEch2FqVcNxNhcl98HaYFqy/snHMjD493NREV/y08cKkM/NQ7gLrde KGKwtV3fksETcOyNx0mKLKldMvkcjXiistEpOtaSNCzKM+lynOmYyYUJz3TjwhjXeVIS HjGQ== X-Gm-Message-State: AOPr4FVxylRH2yx273L0B/VY61BP1viq50+E+FAQ9qJ/GEc5zOZT86Fy1NSHW1OgxA3onqMDcKZu7Z9p87e39g== X-Received: by 10.202.215.86 with SMTP id o83mr14023066oig.55.1462807575117; Mon, 09 May 2016 08:26:15 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <57306a11$0$1616$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:108431 On 9 May 2016 at 13:35, Michael Str=C3=B6der 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.g= z >>> [..] >>> Saving to: =E2=80=98ansible-2.0.1.0.tar.gz=E2=80=99 >>> >>> But this recent version does not work: >>> >>> $ wget >>> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.2.0.tar.g= z >>> [..] >>> 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/5f3ee8884866a3d5e3b8ba86e9caa85ec= dec75adabac8924b1c122339e7f/ansible-2.0.2.0.tar.gz > > Yes, but in .spec files of openSUSE RPMs the more readable links above ar= e used > and I'd like to keep it that way. And openSUSE build service checks wheth= er 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-p= ackage The current link: https://files.pythonhosted.org/packages/source/a/ansible/ansible-2.0.1.0.ta= r.gz (URLs in the pypi.io domain were used briefly and will still work) --=20 Chris Warrick PGP: 5EAAEA16