[Distutils] Python people want CPAN and how the latter came about

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 25 23:04:47 CET 2009

>> Ben Finney wrote:
>>> That isn't a good argument. By the same logic, PyPI should not
>>> reject *any* upload, to avoid “forcing” uploaders to do extra work.
>> PyPI's rejection of certain uploads is primarily to prevent spam from
>> being uploaded.
> Am I wrong, then, in thinking that PyPI will reject an upload with
> malformed metadata?

I don't want to elaborate the specifics in something that gets archived.
If you want to know what precise checks are performed, read the source

In principle, yes, you are wrong: PyPI may accept uploads even if the
metadata are malformed.

> To my understanding, this discussion is about arguing whether an upload
> that is missing the package should be rejected by PyPI.

Ah. In PyPI, there are two kinds of "write" interactions:
"registration", and "upload". The latter is what brings distribution
files on PyPI. This is the one I'm talking about.

The registration is *only* about metadata (i.e. no files at all),
and it does check the consistency of the metadata.


More information about the Distutils-SIG mailing list