Skip to content

Commit 5c61d8f

Browse files
authored
Pin jinja2 in CI (Qiskit#7815)
The recent jinja2 release is breaking the tutorials ci job. This is because something in the nbsphinx, jupyter, sphinx pipeline is incompatible with the new version. These issues have been reported upstream to jinja2 (and promptly closed as won't fix) so until the docs build toolchain is upgraded to work with the new version this commit pins the jinja2 version.
1 parent bf0136c commit 5c61d8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

constraints.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ jsonschema==3.2.0
88
# as we won't get matplotlib upgrades by default, this constraint likely can't
99
# be removed until we can unpin matplotlib.
1010
pyparsing<3.0.0
11+
12+
# Jinja2 3.1.0 is incompatible with sphinx and/or jupyter until they are updated
13+
# to work with the new jinja version (the jinja maintainers aren't going to
14+
# fix things) pin to the previous working version.
15+
jinja2==3.0.3

0 commit comments

Comments
 (0)