Skip to content

Commit 0b0a03d

Browse files
committed
Relax pinning of Jinja2 dependency
Jinja 2.11.2 fixed pallets/jinja#1138 which prevented us from using the 2.11 line, we therefore can relax the version constraint.
1 parent 1e35911 commit 0b0a03d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ def read(fname):
4545
],
4646
install_requires=[
4747
'pytest>=3.3.0',
48-
# Avoid Jinja 2.11 until https://github.com/pallets/jinja/issues/1138
49-
# is sorted.
50-
'Jinja2 >=2.8, <2.11',
48+
# 2.11.0 and .1 introduced an incompatible change in template output,
49+
# which was fixed in 2.11.2 and later.
50+
# https://github.com/pallets/jinja/issues/1138
51+
'Jinja2 >=2.8, !=2.11.0, !=2.11.1',
5152
],
5253
tests_require=[
5354
'vunit_hdl>=4.0.8'

0 commit comments

Comments
 (0)