[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 15:34:02 EST 2017


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

I tried building the top packages from python3wos.appspot.com.  Only simplejson-3.13.2.tar.gz fails to build due to this change.  However, given that it is the top downloaded module, I think think making a change to Python that makes it uninstallable by "pip" is a bad idea.  There needs to be a transition process.  I'm setting priority to "release blocker".  People can downgrade if they disagree with me.

I tried changing the TypeError raises with Deprecation warnings.  That doesn't have any effect because DeprecationWarning is filtered by default.  Enabling it still has no effect because apparently pip filters it out.

So, I think some other way to warn people would need to be implemented.  E.g. have distutils print to stderr.  Change pip to warn as well.

----------
nosy: +ned.deily
priority: normal -> release blocker

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


More information about the Python-bugs-list mailing list