Change in paths to packages on PyPI
Ivan Larionov
xeron.oskom at gmail.com
Fri May 13 20:33:07 PDT 2016
I just run into this issue.
Can confirm that change like this works:
-master_sites https://pypi.python.org/packages/source/p/prompt_toolkit/
+master_sites https://pypi.io/packages/source/p/prompt_toolkit/
Has anyone updated pypi master_sites?
--
With best regards, Ivan Larionov.
> On Apr 26, 2016, at 10:28 AM, Rainer Müller <raimue at macports.org> wrote:
>
> On 2016-04-23 13:04, Davide Liessi wrote:
>> There has been a recent update in the way PyPI handles paths to
>> packages [1] that will require to manually update master_sites for
>> every update (fortunately old paths seem to be still valid).
>>
>> There's already an issue at PyPA's tracker [2], but I don't know if
>> they'll be willing to revert the change.
>> (Maybe voting the issue on the tracker would help...)
>
> According to the upstream issue tracker, they now provide a translator
> from the old URL scheme to the new at their pre-release version at
> https://pypi.io/.
>
> I did not do much testing, so I would be glad if someone could give the
> attached patch some more testing, especially if this breaks fetching any
> of the old ports.
>
> Also a quick grep returned quite a lot of ports not using the pypi:
> mirror sites, but instead hardcode pypi.python.org. Although it still
> works, they should probably all be changed to allow control of the
> mirrors at a single place.
>
> Rainer
> <pypi-mirror.diff>_______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev
More information about the macports-dev
mailing list