[issue33069] Maintainer information discarded when writing PKG-INFO

Paul Ganssle report at bugs.python.org
Tue Mar 20 09:33:38 EDT 2018


Paul Ganssle <p.ganssle 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.

To be honest, that would not have helped in this situation. I didn't encounter this bug in distutils, I encountered it in setuptools, and I tried fixing it in both places because the comments on issue 962772 indicated that this *should* have been supported in distutils.

In the end I think it's fair to either freeze the distutils API and add a DeprecationWarning to indicate that this is no longer supported and everyone should move to setuptools or modernize it completely.

----------

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


More information about the Python-bugs-list mailing list