- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with 1.7.5 on Travis CI ("No module named roman") #5022
Comments
OMG... It seems Docutils installed by pip (original):
Docutils installed by apt:
I suppose As a workaround, please install it by pip. |
Confirmed, uninstalling the Ubuntu |
Thank you for confirmation. Please keep as is. |
Fix #5022: latex: crashed with docutils package provided by Debian/Ubuntu
Fixed by #5024 . |
Running Sphinx v 1.7.5 on Travis I am seeing this error:
Ubuntu 14.04 ships with a very old version of Sphinx (it has problems parsing the C++ declarations in my docs) so my CI script installs a new version of Sphinx via pip.
The removal/reinstall of requests and python-openssl is to workaround the bug described in
https://stackoverflow.com/questions/32779919/no-module-named-for-requests
We are not actually trying to build a PDF during CI, but it looks like the missing module causes
sphinx-build
to exit with a non-zero error code which causes the whole build to fail.Something I do not understand about this error is that the Ubuntu
python-roman
package is already installed (it is a dependency ofpython-docutils
).Error logs / results
https://travis-ci.org/randombit/botan/jobs/384926972
In the build logs the pip/apt-get operations are run from the subscript
./src/scripts/ci/setup_travis.sh
at line 474Expected results
Version 1.7.4 and earlier work fine. I only investigated this after my build suddenly broke. After I set pip to install ==1.7.4 my build worked again https://travis-ci.org/randombit/botan/builds/384949254
Reproducible project / your project
Environment info
Let me know if there is any additional info I can provide, and thanks for this great tool.
The text was updated successfully, but these errors were encountered: