Under python-3.2, docutils does not pass its unittests. I needed the following changes to make it work:
1) sed -i 's/Günter/Gunter/' tools/rst2xetex.py
This appears to be a bug in python-3.2's distutils (http://bugs.python.org/issue10419 )and is supposed to be fixed in python-3.2.1. If this is still a problem with python-3.2.1.
2) The attached patch which makes two changes:
2a) Names an exception when catching it so that it can be referenced later (docutils/test/test_io.py)
2b) Uses an explicit encoding when opening a file in text mode. Without this, decoding from ascii was attempted for 6 tests. Note that there's a comment here about python3 breakage when using 'rb' mode to open the file so this might bear more looking at (docutils/test/test_functional.py)
Log in to post a comment.