>> 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
code.

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.

Regards,
Martin

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to