Skip to content

Commit

Permalink
fix: Disallow Jinja2 v3.1.0 to avoid nbsphinx triggering attribute er…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
matthewfeickert committed Mar 24, 2022
1 parent 419bc76 commit 3ab2077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -55,6 +55,7 @@
'sphinx-click',
'sphinx_rtd_theme',
'nbsphinx!=0.8.8', # c.f. https://github.com/spatialaudio/nbsphinx/issues/620
'Jinja2!=3.1.0', # c.f. https://github.com/spatialaudio/nbsphinx/issues/641
'ipywidgets',
'sphinx-issues',
'sphinx-copybutton>=0.3.2',
Expand Down

0 comments on commit 3ab2077

Please sign in to comment.