Skip to content

Commit

Permalink
Pin jinja2 in CI (Qiskit#7815)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mtreinish authored Mar 24, 2022
1 parent bf0136c commit 5c61d8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ jsonschema==3.2.0
# as we won't get matplotlib upgrades by default, this constraint likely can't
# be removed until we can unpin matplotlib.
pyparsing<3.0.0

# Jinja2 3.1.0 is incompatible with sphinx and/or jupyter until they are updated
# to work with the new jinja version (the jinja maintainers aren't going to
# fix things) pin to the previous working version.
jinja2==3.0.3

0 comments on commit 5c61d8f

Please sign in to comment.