[docs] [issue19248] sphinx is not py3k compatible

Nick Guenther report at bugs.python.org
Sun Oct 13 21:19:33 CEST 2013


Nick Guenther added the comment:

I see that in Doc/tools/sphinx-build.py there is this check:

    if sys.version_info[:3] < (2, 4, 0):
        sys.stderr.write("""\
Error: Sphinx needs to be executed with Python 2.4 or newer (not 3.0 though).
(If you run this from the Makefile, you can set the PYTHON variable
to the path of an alternative interpreter executable, e.g.,
``make html PYTHON=python2.5``).
""")

But I never saw this and had to debug it myself. I submit the attached patch as a solution.

----------
keywords: +patch
resolution: duplicate -> 
status: closed -> open
type: enhancement -> 
Added file: http://bugs.python.org/file32093/sphinx_version_check.patch

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


More information about the docs mailing list