Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38914 Do not require email field in setup.py. #17388
Conversation
When checking `setup.py` and when the `author` field was provided, but the `author_email` field was missing, erroneously a warning message was displayed that the `author_email` field is required. The specs do not require the `author_email`field: https://packaging.python.org/specifications/core-metadata/#author The same is valid for `maintainer` and `maintainer_email`. The warning message has been adjusted. modified: Doc/distutils/examples.rst modified: Lib/distutils/command/check.py
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Nov 26, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
This comment has been minimized.
This comment has been minimized.
I do not know whether this matters, but @pganssle proposed a change of wording over at
|
This comment has been minimized.
This comment has been minimized.
Well technically I did not |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Nov 26, 2019
Thanks for making the requested changes! @merwok: please review the changes made to this pull request. |
This comment has been minimized.
This comment has been minimized.
@jugmac00 I am fine with the wording changes, but I do think we should put in a news entry, since this is a user-facing behavior. Thank you for investigating this and making a PR! |
This comment has been minimized.
This comment has been minimized.
Thank you very much for your suggestions and for leading me through this pull request. As I do not know whether you squash pull requests anyway or you'd prefer me to do it locally and force push, I just did created some more commits for the requested changes. I will happily squash my commits locally and force push them - just leave me a note. |
This comment has been minimized.
This comment has been minimized.
Squashing does not play well with github reviews and links, so CPython uses messy branches + squash merge. All info in the devguide: https://devguide.python.org/gitbootcamp/#creating-a-pull-request |
This comment has been minimized.
This comment has been minimized.
I pushed a change to the wording of the news entry to clarify that this is just an adjustment to the wording of the warning and that otherwise the behavior has not changed. @jugmac00 If you agree with my new wording, I am happy to merge this. |
This comment has been minimized.
This comment has been minimized.
@pganssle Thanks for taking your time! lgtm :-) |
This comment has been minimized.
This comment has been minimized.
Small detail for future changes: there is no need to list modified files in the PR description, we can see that in github tabs and git metadata |
jugmac00 commentedNov 26, 2019
•
edited by miss-islington
When checking
setup.py
and when theauthor
field was provided, butthe
author_email
field was missing, erroneously a warning message wasdisplayed that the
author_email
field is required.The specs do not require the
author_email
field:https://packaging.python.org/specifications/core-metadata/#author
The same is valid for
maintainer
andmaintainer_email
.The warning message has been adjusted.
modified: Doc/distutils/examples.rst
modified: Lib/distutils/command/check.py
https://bugs.python.org/issue38914
Automerge-Triggered-By: @pganssle