-
Notifications
You must be signed in to change notification settings - Fork 106
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
Build breaks for newest nbconvert #186
Comments
Looks like the template we need to extend in the new version is This may be a case of writing a simple JSON file and changing the name in |
We don't use Jinja directly but nbconvert does. Jinja version 3.1.x has API changes (removing `contextfilter`) which don't work with older nbconvert versions (nbconvert issue 1742). The newer version of nbconvert should fix it, but we have pinned an older version because of #186. This is a temporary fix to get the build working again, but we should eventually resolve the issuse in #186.
This is causing more issues, as newer versions of Jinja (3.1.0 onward) have a different API, which doesn't work with older |
When building the pages, the command
jupyter nbconvert --to html --template jekyll.tpl --stdout ch00python/00pythons.nbconvert.ipynb > ch00python/00pythons.html
errors with
This seems to be because of a change in how
nbconvert
templates are defined in the newest major version (this was usingnbconvert 6.0.7
).See also jupyter/nbconvert#1369 for more examples, the docs on the new structure for custom templates and another overview of the new system. For now we can specify an earlier version, but changing the template may not be too complex either.
The text was updated successfully, but these errors were encountered: