[New-bugs-announce] [issue21410] setup.py check --restructuredtext -- appears to pass if docutils not installed

Jeff Hinrichs report at bugs.python.org
Thu May 1 22:27:29 CEST 2014


New submission from Jeff Hinrichs:

if you run
  setup.py check --restructuredtext
without docutils installed, it will appear to pass

if you add the -s flag, it will error and inform you that docutils is not installed.   

So nothing is reported and return results are the same as a "passing" check.

$ python setup.py check --restructuredtext
running check

$ python setup.py check --restructuredtext -s
running check
error: The docutils package is needed.


The not strict version is a little too loose to be of any good.

----------
components: Distutils
messages: 217721
nosy: dstufft, dundeemt, eric.araujo
priority: normal
severity: normal
status: open
title: setup.py check --restructuredtext  -- appears to pass if docutils not installed
versions: Python 2.7

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


More information about the New-bugs-announce mailing list