[New-bugs-announce] [issue31073] Change metadata handling in check command

Andrew Pinkham report at bugs.python.org
Fri Jul 28 16:51:47 EDT 2017


New submission from Andrew Pinkham:

The new warehouse uses the author_email field to create a mailto link. Donald Stufft recommended leaving out the author_email field while still specifying the author field should a maintainer wish to have their name associated without their email.

Conversation with Donald:
https://github.com/pypa/warehouse/issues/2155

Unfortunately, specifying author but not author_email causes the `setup.py check` command to throw an error. "check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too"

I would like to remove that check from being performed given the recommended fix for warehouse. The logic that performs this check is currently in the distutils check command.

https://github.com/python/cpython/blob/master/Lib/distutils/command/check.py

Additionally, AFAICT, it is impossible to disable the metadata check in distutils. I would also like to add a negative option to allow the metadata check to be skipped.

----------
components: Distutils
messages: 299436
nosy: dstufft, jambonrose, merwok
priority: normal
severity: normal
status: open
title: Change metadata handling in check command
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31073>
_______________________________________


More information about the New-bugs-announce mailing list