Page MenuHomeFreeBSD

Use new python site
AbandonedPublic

Authored by swills on Jun 23 2016, 5:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 28, 6:05 AM
Unknown Object (File)
Tue, May 27, 2:08 PM
Unknown Object (File)
Sun, May 25, 9:50 PM
Unknown Object (File)
Fri, May 23, 3:42 PM
Unknown Object (File)
Mon, May 5, 6:28 AM
Unknown Object (File)
Mar 15 2025, 3:45 PM
Unknown Object (File)
Feb 28 2025, 9:07 AM
Unknown Object (File)
Sep 8 2024, 7:28 PM
Subscribers

Details

Reviewers
None
Group Reviewers
portmgr
Summary

PyPi moved to a new scheme, but there's a "legacy" way of getting the files without the hash in the filename, see:

https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package

So let's add that to bsd.sites.mk

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

swills retitled this revision from to Use new python site.
swills updated this object.
swills edited the test plan for this revision. (Show Details)
swills added a reviewer: portmgr.

I'm not sure pypi.python.org should remain in the sites list, as from what I read of the upstream issue, it doesn't appear there is clear intent (yet) for it to support the alt (original) method, or a method for fetching distribution files without knowing file content hashes.

Additionally, keeping pypi.python.org in the list is likely to break portscout (which probably is broken now), at least until we implement (in bsd.sites.mk and/or portscout), some redirector foo/magic ala: https://github.com/dstufft/pypi-debian I don't like the idea that we should be required to.

I've asked Donald (on IRC) what the intention and recommendation for downstreams is right now, and into the future:

tldr of pypi issue 438 is downstreams should (always and ony) use  https://files.pythonhosted.org for distfiles, and no longer pypi.python.org?

supplemental, will/can pypi.python.org ever get the alt-method for obtaining files without knowing hashes?

Until there is clarity/roadmap, i think the sites list should only contain hosts that support exactly and only the method we use to fetch those files.

Which version of the ports tree are you using? It seems this patch is already applied.

Indeed, I forgot I had quarterly branch checked out, sorry for the noise. If pypi.python.org should be removed, lets open a separate issue for that.