Skip to content

Commit 37ac28a

Browse files
committed
Fix jinja2 issue due to markupsafe change
1 parent 154f203 commit 37ac28a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ci/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dependencies:
3333
- sphinx-copybutton
3434
- sphinx_rtd_theme==0.4.3
3535
- jinja2==2.11.3
36+
- markupsafe==2.0.1
3637
- nbsphinx==0.8.1
3738
- jupytext
3839
- git+https://github.com/lukelbd/sphinx-automodapi@proplot-mods

docs/environment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# but creating local environment will fail.
99
# * jinja >= 3.0 and nbsphinx >= 0.8.2 seem to break default ReST roles when
1010
# jupytext notebooks are converted to HTML. Interpreted as italics instead.
11+
# * markupsafe >= 2.1.0 seems to be broken with jinja < 3.0 so also have to
12+
# manually specify that: https://github.com/pallets/markupsafe/issues/284
1113
# * docutils >= 0.17 breaks bullet points. See the following thread
1214
# for more info: https://github.com/readthedocs/sphinx_rtd_theme/issues/1115
1315
name: proplot-dev
@@ -31,6 +33,7 @@ dependencies:
3133
- sphinx-copybutton
3234
- sphinx_rtd_theme==0.4.3
3335
- jinja2==2.11.3
36+
- markupsafe==2.0.1
3437
- nbsphinx==0.8.1
3538
- jupytext
3639
- git+https://github.com/lukelbd/sphinx-automodapi@proplot-mods

0 commit comments

Comments
 (0)