[Distutils] PyPI update broke setuptools

Phillip J. Eby pje at telecommunity.com
Mon Aug 1 17:41:47 CEST 2005


The new version of PyPI changed the third assumption below, breaking 
setuptools' ability to do fallback searches for a request whose 
upper/lowercase didn't precisely match the cases used by the package 
author.  Is there any chance someone could revert this, since this breaks a 
ton of software in the field?

At 06:22 PM 6/5/2005 -0400, Phillip J. Eby wrote:
>For the benefit of the PyPI maintainers, here is a summary of EasyInstall's
>fairly minimal assumptions about PyPI's current behavior, assuming that
>"base-url" is the root URL of the package index:
>
>     * Going to "base-url/SomePackage" produces an HTML page that either has
>a title containing "Index of Packages" and links to zero or more pages for
>specific versions, or else it is a single-version package page.
>
>     * Single-version package pages may have a home page and download URL
>link, each of which occurs after '<th>Home Page' and '<th>Download URL'
>respectively, if present.
>
>     * Going to "base-url/" (note trailing '/') produces an HTML page
>containing links to all active versions of registered packages
>
>     * Links to package pages always have URLs of the form
>"base-url/SomePackage/itsVersion" - i.e., exactly two path parts following
>the base URL, with no query strings, parameters, fragments, etc.
>
>EasyInstall should continue to work with PyPI if these assumptions continue
>to hold.



More information about the Distutils-SIG mailing list