[issue33069] Maintainer information discarded when writing PKG-INFO

Nick Coghlan report at bugs.python.org
Tue Mar 20 06:19:51 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Donald made an interesting suggestion over on https://github.com/pypa/packaging-problems/issues/127#issuecomment-374401331, which was to have distutils stop overwriting the Author metadata with the Maintainer metadata when both are specified and instead emit a warning about an unknown keyword argument.

I'm not sure we'd want to change the behaviour of mapping Maintainer -> Author (since it's a nice way to retain credit in the code, while changing the metadata on PyPI to reflect the current metadata), but I *do* think it would be reasonable to have distutils emit a warning that metadata version 1.1 can't represent the maintainer information properly, and folks should upgrade to using setuptools instead.

Éric, your thoughts?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33069>
_______________________________________


More information about the Python-bugs-list mailing list