-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Regression in 7.4: jinja2.exceptions.TemplateNotFound
error from jinja2glue
#12593
Comments
jinja2.exceptions.TemplateNotFound
error from jinja2glue
jinja2.exceptions.TemplateNotFound
error from jinja2glue
Thanks @lucascolley for reporting. The root cause is the following lines in SciPy's html_sidebars = {
"index": "search-button-field",
"**": ["search-button-field", "sidebar-nav-bs"]
} Support for this was removed in Sphinx 2.0 (though I'll admit the wording is poor in our docs) (see #4178, a7cab00, #5370). In a recent commit (f10f0b6, #12578), I coerced the value of the matched value from The fix is to revert to the status quo ante (no type coercion) for now and adds a warning error message instructing the user what to do when they encounter this problem. EDIT: See #12600 I will also open a PR to SciPy to fix the upstream issue. EDIT: See scipy/scipy#21200 A |
Thanks @AA-Turner, makes sense! |
Sphinx 7.4.5 has been released with a fix. A |
Describe the bug
x-ref pydata/pydata-sphinx-theme#1930
This started showing up in SciPy CI in the past day or so. x-ref scipy/scipy#21195.
How to Reproduce
The line in PST looks to be
app.builder.templates.render(template, ctx)
. Can look into this further if needed.Environment Information
I don't have this info right now but we can look into it if needed.
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: