You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently realized that many of the conda-forge recipe point to pypi.io, and that
https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ ext}}
Redirect to https://pypi.org/... which itself
Redirect to https://files.pythonhosted.org/...
2 questions:
How much should we work on not having links to pypi.io ? That is to say how aggressively should we update recipes to point to pypi.org, or emit errors/warning message.
same for pypi.org, if we can directly update code to reach for https://files.pythonhosted.org/... url, how aggressively should we try to do it.
The text was updated successfully, but these errors were encountered:
Hi @Carreau ! I took a look today, and found that 3xx redirects for pypi.org-service is larger than the 2xx responses - almost by 40% - that happen at the edge provider (Fastly).
Since this is handled at the edge and the traffic rarely gets all the way to the backend, it hasn't been super bothersome to manage, rather the experience is seen by clients having to perform yet another DNS lookup, TLS exchange, etc etc.
The guidance surfaced in https://docs.pypi.org/api/#predictable-urls is probably what you want, and if you're already constructing URLs, there's no reason you'd need to also ask pypi.org for that to get a redirect to files.pythonhosted.org
Thanks; I was also in particular thinking that at some point in the future you may want to retire pypi.io, but is there are that amny redirect; we are far from it.
I recently realized that many of the conda-forge recipe point to pypi.io, and that
https://pypi.org/...
which itselfhttps://files.pythonhosted.org/...
2 questions:
pypi.io
? That is to say how aggressively should we update recipes to point to pypi.org, or emit errors/warning message.https://files.pythonhosted.org/...
url, how aggressively should we try to do it.The text was updated successfully, but these errors were encountered: