classification
Title: setup.py check --restructuredtext -- appears to pass if docutils not installed
Type: Stage: resolved
Components: Distutils Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: dstufft, dundeemt, eric.araujo, steve.dower
Priority: normal Keywords:

Created on 2014-05-01 20:27 by dundeemt, last changed 2021-02-03 18:29 by steve.dower. This issue is now closed.

Messages (2)
msg217721 - (view) Author: Jeff Hinrichs (dundeemt) Date: 2014-05-01 20:27
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.
msg386403 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:29
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2021-02-03 18:29:02steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386403

resolution: out of date
stage: resolved
2014-05-01 20:27:29dundeemtcreate