[Catalog-sig] PEP 438 implementation on testpypi

Richard Jones r1chardj0n3s at gmail.com
Wed Mar 20 21:16:11 CET 2013

On 20 March 2013 12:31, M.-A. Lemburg <mal at egenix.com> wrote:
> On 20.03.2013 19:26, Richard Jones wrote:
>> Thanks to Donald Stufft for his implementation of the PEP 438 changes,
>> I've made them live on testpypi.python.org - specifically the "urls"
>> page of package administration. Please poke and play.
> Nice... first tests:
> * Going to "urls" and then clicking on [Change] gives an error:
> """
> Name and version are required
> Name and version are required
> """
> It doesn't matter which choice you select.

Oops. This is fixed. You'll have to reload the page to get the correct
form code.

> * Will there be an RPC interface to register URLs with PyPI ?
> Doing this manually for a large number of files is, well,
> not ideal :-)

It's just a HTTP POST and there's plans for a tool.

> * Adding URLs should do some more tests, I think:

I thought about it, but didn't see any benefit. It's documented...

> * I'm missing an option:
> [ ] Ask tools to scrape only the Download URL.

This is not part of the planned implementation. The download_url was
never well-specified, and only allows for one URL, hence the
implementation we have.

> * Would it be possible to add a link to the corresponding
> /simple/ index page on the package menu (the one with files,
> urls, etc.) ?

I guess this could be added, yes.

> * Could you add a link to the PKG-INFO file from
>   pypi?:action=display_pkginfo to the /simple/ page as
>   <version>-PKG-INFO (to match the other links) ?

We could think about it - what's the use-case?


More information about the Catalog-SIG mailing list