Avoid Jinja2 versions 2.9.[0-4]

There is a bug within ansible and/or jinja2 that causes an exception
when a string contains curly braces. A bug has already been opened
with the Ansible team to review the bug.

This patch pins the jinja2 release at a version less than 2.9. The
issue first appeared in the 2.9 release and is still present in
2.9.4 (latest available).

Jinja2 bug: pallets/jinja#654
Ansible bug: ansible/ansible#20098
Related-Bug: 1655397
Change-Id: I82561d3d738147683499697883d9d03ceb897f3d
This commit is contained in:
Major Hayden 2017-01-10 12:01:49 -06:00
parent ea40c7c8a9
commit f0fb896f44
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ influxdb>=2.9.2 # MIT
ironic-lib>=2.4.0 # Apache-2.0
ipaddress>=1.0.7;python_version<'3.3' # PSF
iso8601>=0.1.11 # MIT
Jinja2>=2.8 # BSD License (3 clause)
Jinja2>=2.8,!=2.9.0,!=2.9.1,!=2.9.2,!=2.9.3,!=2.9.4 # BSD License (3 clause)
jsonmodels>=2.1.2 # BSD License (3 clause)
jsonpatch>=1.1 # BSD
jsonpath-rw>=1.2.0,<2.0 # Apache-2.0

View File

@ -4,7 +4,7 @@ CouchDB===1.1
Django===1.8.17
Flask===0.12
GitPython===2.1.1
Jinja2===2.9.4
Jinja2===2.8.1
Mako===1.0.6
MarkupSafe===0.23
MySQL-python===1.2.5;python_version=='2.7'