[Catalog-sig] Pypi silliness when finding dev versions

Benji York benji at zope.com
Tue Jun 10 22:05:36 CEST 2008


On Tue, Jun 10, 2008 at 3:54 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> At the bottom, you can see multiple links for it. When easy_install
>> runs, it usually goes for the first link (which is from an old package
>> description), not the one from the latest package.
>
> The simple API shows all links from all packages, not just from the
> latest package.
>
> In this case, it would help if PyPI would hide all URLs belonging to
> hidden releases.
>
> Would that be desirable?

Nope.  Say a project uses the simple API in their setuptools find-links
setting with version numbers specified in their setup.py (or
buildout.cfg).  If the download URL is hidden when a new release is
made, it would mean that setuptools won't be able to find the older
version when it needs to download it.

This is (or was) the behavior of the "non-simple" pages, and it meant
that maintainers would have to unhide older versions after uploading a
newer one so other people who depend on older versions could continue to
download them.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Catalog-SIG mailing list