diff options
author | Jürgen Gmach <juergen.gmach@googlemail.com> | 2019-12-23 14:53:18 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-23 14:53:18 (GMT) |
commit | 9f9dac0a4e58d5c72aa3b644701cb155c009cb2c (patch) | |
tree | fe5cc25f65d9f9cc27a59566ae27e03823dba07f /Misc/NEWS.d/next | |
parent | e7b406f4e20e248d24079f97d7c8b93e5a45249e (diff) | |
download | cpython-9f9dac0a4e58d5c72aa3b644701cb155c009cb2c.zip cpython-9f9dac0a4e58d5c72aa3b644701cb155c009cb2c.tar.gz cpython-9f9dac0a4e58d5c72aa3b644701cb155c009cb2c.tar.bz2 |
bpo-38914 Do not require email field in setup.py. (GH-17388)
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
https://bugs.python.org/issue38914
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-11-26-23-21-56.bpo-38914.8l-g-T.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-26-23-21-56.bpo-38914.8l-g-T.rst b/Misc/NEWS.d/next/Library/2019-11-26-23-21-56.bpo-38914.8l-g-T.rst new file mode 100644 index 0000000..2dfc1ea --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-11-26-23-21-56.bpo-38914.8l-g-T.rst @@ -0,0 +1,5 @@ +Adjusted the wording of the warning issued by distutils' ``check`` command when +the ``author`` and ``maintainer`` fields are supplied but no corresponding +e-mail field (``author_email`` or ``maintainer_email``) is found. The wording +now reflects the fact that these fields are suggested, but not required. Patch +by Juergen Gmach. |