-
Notifications
You must be signed in to change notification settings - Fork 299
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
Export to html fails with jinja template problem #9468
Comments
I'm seeing the same issue. It seems to be that Jinja2 updated and changed where you should import the Markup object from. https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0
|
We probably need another condition here:
|
No it looks like this is a bug in nbconvert. Here: |
We might forcefully pin jinja2 to something older for the meantime. |
Workaround, downgrade jinja2 to 3.0.3
|
This isn't fixed, we just worked around it in our tests? @DonJayamanne maybe you didn't mean to close it. |
Driver is that nbconvert to html breaks. [This issue](microsoft/vscode-jupyter#9468) describes it.
This should be fixed now. |
thanks that worked for me! |
Downgrading jinja2 doesn't resolve this issue for me. Any other workarounds? |
Ran into this problem today in vs code - Python 3.9. The work-around suggested by rchiodo above worked perfectly for me. |
Ran into this problem today. again - Python 3.9. The work-around suggested by rchiodo above worked again. |
Nightly build is failing with this error:
I can't seem to repro locally. Maybe only on linux does it fail.
The text was updated successfully, but these errors were encountered: