[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

Neil Schemenauer report at bugs.python.org
Sat Dec 2 16:47:09 EST 2017


Neil Schemenauer <nas-python at arctrix.com> added the comment:

> Classifiers were always documented as lists (msg214915) and passing a non-list type was raised a cryptic exception message as already reported in my first message

That doesn't matter.  You can't break a bunch of packages in a 3.x release with no warning just because people are doing something against what the documentation says.  That's not how we develop Python. How is a user of a 3rd party package going to fix this?  They have to ask the 3rd party package author to fix their setup.py code.  Until then, they cannot use Python 3.7.  This patch needs to be reverted and reworked, IMHO.

I trying installing the top packages listed on https://pythonwheels.com .  A number of them fail because of this change, see attached text file.

----------
Added file: https://bugs.python.org/file47312/pip-errors.txt

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


More information about the Python-bugs-list mailing list