-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Errors running notebooks with nbconvert 5.4? (after pip install nbsite) #84
Comments
holoviz/param#293 indicates that there is some problem with nbsite and nbconvert 5.4, because installing <5.4 fixes the problem. If true, we should fix nbsite or otherwise pin nbconvert. |
For now please pin nbconvert here. |
ceball
added a commit
that referenced
this issue
Oct 12, 2018
ceball
added a commit
that referenced
this issue
Dec 18, 2019
ceball
added a commit
that referenced
this issue
Dec 18, 2019
Can no longer reproduce the error in #84.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
See e.g. https://travis-ci.org/ioam/param/jobs/440195588#L658
nbsite uses nbconvert to execute notebooks. Although I recently tried to update nbsite to work with nbconvert 5.4 (released about a month ago), it seems that I was not actually successful.
nbsite contains some hacks to execute code at notebook startup. We should really revisit this mechanism, because it's a complete hack. nbconvert 5.4 (the first release in over a year) appears to have made various changes to the execute preprocessor, probably breaking our hack:
(https://nbconvert.readthedocs.io/en/latest/changelog.html)
Default startup code (can be overridden by a project, but probably nobody does that): https://github.com/pyviz/nbsite/blob/master/nbsite/ipystartup.py
Hack to execute it: https://github.com/pyviz/nbsite/blob/master/nbsite/nbbuild.py#L55
Surely there's a better way to achieve that?
Should also verify that the problem in the travis link above is definitely from nbconvert 5.4; most of this post is just speculation.
The text was updated successfully, but these errors were encountered: