[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 14:34:17 EST 2017


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

I don't see a good reason to add this check.  I would guess there could be lots of 3rd party packages that are no uninstallable on Python 3.7.  E.g. 

python3 -m pip install exifread
...
TypeError: 'classifiers' should be a 'list', not 'tuple'

If people are determined to add extra type checking, make it a warning for 3.7 so setup.py files can be fixed.

----------
nosy: +nascheme
resolution: fixed -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list