Skip to content

Commit cfb9183

Browse files
committed
Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
Jinja2 and MarkupSafe have a plan to major release in the near future. And it will introduce some changes for its APIs. To lessen the noise of the DeprecationWarnings, this pins the versions to current stable release.
1 parent 53c6353 commit cfb9183

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
'sphinxcontrib-htmlhelp',
2222
'sphinxcontrib-serializinghtml',
2323
'sphinxcontrib-qthelp',
24-
'Jinja2>=2.3',
24+
'Jinja2>=2.3,<3.0',
25+
'MarkupSafe<2.0',
2526
'Pygments>=2.0',
2627
'docutils>=0.14,<0.18',
2728
'snowballstemmer>=1.1',

0 commit comments

Comments
 (0)