-
Notifications
You must be signed in to change notification settings - Fork 131
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
New jinja release leads to attributeerror? #641
Comments
We're seeing this too in scikit-hep/pyhf#1823 |
Due to this change: pallets/jinja@824b4d3 Probably can replace |
…ror (#1824) * Disallow Jinja2 v3.1.0 to avoid nbsphinx triggering attribute error: AttributeError: module 'jinja2.utils' has no attribute 'escape' This is a stopgap measure and this line should be removed as soon as there is a resolution and new nbsphinx release. - c.f. spatialaudio/nbsphinx#641
This has been reported to Please upgrade If it still doesn't work, please let me know! See also sphinx-doc/sphinx#10289, pallets/jinja#1626 |
Thanks for this information @mgeier. Given this, would you be open to updating/adding Lines 16 to 23 in 80d9b26
to make it easier for the dependency solvers to avoid these sorts of conflicts? |
* Revert PR #1824 to remove restrictions place on Jinja2 given spatialaudio/nbsphinx#641. The issues described there were resolved upstream of nbsphinx in jupyter/nbconvert#1737. - Lower bounds of 'nbconvert>=6.4.5' are not added as lower bound restrictions should be applied upstream of pyhf in nbsphinx. PR #1824 was applied only because it was necessary.
I'm hesitant to add a lower bound to |
I made Issue #645 so that this Issue doesn't get drawn off topic and become less useful to other people coming here for the original motivation. Apologies in advance if this feels spammy or forceful (not the intent!). |
nbconvert has been updated re: jinja=3.10. See spatialaudio/nbsphinx#641 (comment) and jupyter/nbconvert#1737
nbconvert has been updated re: jinja=3.10. See spatialaudio/nbsphinx#641 (comment) and jupyter/nbconvert#1737
The text was updated successfully, but these errors were encountered: