Pypi redirect

Ryan Schmidt ryandesign at macports.org
Tue Nov 19 09:42:13 PST 2013


On Nov 19, 2013, at 07:07, Joshua Root wrote:

> On 2013-11-19 23:52 , Peter Danecek wrote:
>> 
>> if I interpret things correctly, the `http://` requests to PyPi are (now?) redirected to `https://` requests. Not sure if this was always the case, but I have a weak memory, that I was advised to uses `http` instead of `https`, not sure though.
>> 
>> Now I am wondering if I should update to https, to avoid the redirect.  
> 
> Yes, that changed not so long ago. Yes, go ahead and update pypi URLs to
> https if you notice them while working on a port. It's not a big problem
> so I wouldn't go out of my way to fix it when there are more important
> things to do.

But this kind of upstream hosting change is indeed the reason why we put service URLs in mirror_sites.tcl instead of hardcoding them into each portfile, and this would be a good opportunity to do that for pypi.



More information about the macports-dev mailing list