-
Notifications
You must be signed in to change notification settings - Fork 84
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
NB execution can fail on ReadTheDocs #217
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
thanks @mje-nz, yes indeed some notebook executions are failing on RTD: https://readthedocs.org/projects/myst-nb/builds/11469995/ |
This may be part of the problem (https://github.com/executablebooks/MyST-NB/pull/218/checks?check_run_id=944445317): ----------------------------- Captured stdout call -----------------------------
## deleted test_complex_outputs_unrun.ipynb/cells/0/outputs/0:
- output:
- output_type: stream
- name: stderr
- text:
- Matplotlib is building the font cache; this may take a moment. |
done! also what's your RTD handle? I tried chrisjsewell but it said that didn't exist |
I'm there as cjsewell, but it doesn't matter about me, the bot is our new ruler (when you have time, add him to all the EBP projects) |
FYI I enabled some versions on RTD: The plots are there in https://myst-nb.readthedocs.io/en/v0.8.3/use/hiding.html but missing in https://myst-nb.readthedocs.io/en/v0.8.4/use/hiding.html |
huh this is really weird, I haven't noticed any plots missing in the jupyter book docs, which I believe use the latest myst-nb? https://jupyterbook.org/interactive/hiding.html#hide-cell-inputs |
I'm just updating jupyter-cache first (to use nbclient), then I'll give it another try |
Err, I solved the main bug afeb1b0, but there is still this RTD specific problem: jupyter/nbclient#95 |
That's pretty weird... I wonder why rtd is behaving differently from the other ci/cd envs. Maybe a dependency they pre install or something? |
Think I've found the difference: readthedocs/readthedocs.org#7360 |
This is now fixed for our documentation 🎉 |
This should also help jupyter/nbclient#101, but will have to wait until 0.4.3 is released |
nbclient 0.5 should hopefully now stop this from happening |
Describe the bug
All the matplotlib figures on https://myst-nb.readthedocs.io are not rendering, along with the examples of displaying
pd.DataFrame
andIPython.display.Math
, and the whole "Widgets and interactive outputs" notebook.To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: