Closed ax3l closed 4 years ago
uhoh, duplicate of #495
Yeah, indeed your log too shows:
ERROR: breathe 4.15.0 has requirement Sphinx>=3.0, but you'll have sphinx 1.8.5 which is incompatible.
Does pip
really not exit with failure despite throwing an error?
[rtd-command-info] start-time: 2020-04-08T17:43:30.754053Z, end-time: 2020-04-08T17:43:50.755787Z, duration: 20, exit-code: 0 /home/docs/checkouts/readthedocs.org/user_builds/openpmd-api/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
It says exit-code: 0
, if this is true with (current?) pip then this is really a serious bug with pip because it hides failure until later. It should of course exit with non-0 exit code on error. Either that or wrapper shell scripts don't have set -e
set or similar.
Nope, confusingly not (with the config and requirements shown above). Agreed that this looks like a pip bug or RTD does not verify the return code?
Could you open an issue upstream with RTD and/or pip regarding the exit status? I would think many have had trouble because of the lack of a hard-failure exit status when dependency resolution fails. Thanks.
It's a pip bug, the return code is zero.
Reported in https://github.com/pypa/pip/issues/8001
Thanks again, I subscribed to the upstream issue.
Describe the bug
Since yesterday, my Sphinx builds error out on RTD with
To Reproduce
Full error message:
Full RTD build output:
Expected behavior
Continue to build :)
Your project
Repo: https://github.com/openPMD/openPMD-api RTD config: https://github.com/openPMD/openPMD-api/blob/dev/.readthedocs.yml Sphinx Build Dependencies: https://github.com/openPMD/openPMD-api/blob/dev/docs/requirements.txt Sphinx
conf.py
: https://github.com/openPMD/openPMD-api/blob/dev/docs/source/conf.pyEnvironment info