[issue21409] setup.py check - should fail and retrun a non 0 exit code

Jeff Hinrichs report at bugs.python.org
Thu May 1 22:07:11 CEST 2014


New submission from Jeff Hinrichs:

python setup.py check 
python setup.py check --restructuredtext

both incorrectly "warn" and don't "Fail" for things that will cause a failure when uploading to pypi.  This is wrong.

Additionally, they should return a non 0 exit code so they can be used as part of an CI such as drone.io / travis so the build will show as failing.  Currently they do not, and if there are errors that will cause a pypi failure (like an unreadable long description) bad things happen.

----------
components: Distutils
messages: 217719
nosy: dstufft, dundeemt, eric.araujo
priority: normal
severity: normal
status: open
title: setup.py check - should fail and retrun a non 0 exit code
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21409>
_______________________________________


More information about the Python-bugs-list mailing list