[issue21431] 3.4.1rc1 test_pydoc fails: pydoc_data.topics.topics values are type "bytes" not "str"

Larry Hastings report at bugs.python.org
Sun May 4 22:30:40 CEST 2014


Larry Hastings added the comment:

3.4.1rc1 is the first release I've cut where the makefile didn't auto-download Sphinx.  And then the makefile used "python" and "sphinx-build" straight off the path, rather than finding the local ones.  To generate pydoc-topics, I had to do the following:

% ./configure --prefix=`pwd`/release && make
% ./release/bin/pip install sphinx
% cd Doc
% make pydoc-topics PYTHON=../release/bin/python SPHINXBUILD=../release/bin/sphinx-build

And apparently this didn't work.

Maybe there should be a "smoke test" to make sure pydoc-topics is okay?

And... maybe "make pydoc-topics" should copy the data file itself, rather than making me cut and paste paths out of PEP 101?  And *then* automatically test it?

----------

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


More information about the Python-bugs-list mailing list