[Distutils] PyPI index workaround

Михаил Голубев qsolo825 at gmail.com
Wed Jul 13 16:21:24 EDT 2016


Right, sorry, that initial question wasn't clear about that.

We need the latest versions only for installed packages. Nonetheless, as
you noted, it's still several dozens consecutive requests to
"/simple/<package_name>" for each PyCharm session of every user.

Can you handle that?

2016-07-13 22:56 GMT+03:00 Donald Stufft <donald at stufft.io>:

>
> On Jul 13, 2016, at 3:40 PM, Dmitry Trofimov <
> dmitry.trofimov at jetbrains.com> wrote:
>
> Does that mean that PyPI index page will live for a while until the new
> API is implemented?
>
>
> Yes, though I’m looking at this right now.
>
> I do have a question here though. If I understand the dialog, this is to
> provide a way for people to upgrade packages they have installed, and to
> tell them if their is a newer version or not. So my question here is why do
> you need the latest version for *every* package instead of just the ones
> you have installed?
>
> If you narrow it down to just the ones that are installed, then the number
> of HTTP requests needed with the current APIs goes down from ~80,000 to
> likely <100 or even <50 in most cases.
>
>> Donald Stufft
>
>
>
>


-- 
Best regards
Mikhail Golubev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160713/4f938651/attachment.html>


More information about the Distutils-SIG mailing list