From fceeb5d55f2e06ea368d3b4a0deb8ec01b8f62bf Mon Sep 17 00:00:00 2001 From: acrewdson Date: Wed, 21 Mar 2018 12:05:12 -0400 Subject: [PATCH] Allow older Jinja2 dep for project compatability (#1474) In commit 4157abe8de154b7ff00c79d6427c0d774889da3f, the Jinja2 dep in setup.py was changed from being unpinned to requiring version 2.8 or newer. That change was made in response to this issue: https://github.com/spulec/moto/issues/728 which pointed out that the use of 'lstrip_blocks' needed to be supported. Support for that option was added in Jinja 2.7, so it seems like the best option here, unless 2.8 is truly required by moto, would be to allow Jinja 2.7.3 and newer -- preventing dep resolution conflicts in Python projects that pin Jinja2 2.7.3 but also need to use moto. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6048eccd1..c3c562b85 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ import sys install_requires = [ - "Jinja2>=2.8", + "Jinja2>=2.7.3", "boto>=2.36.0", "boto3>=1.2.1", "botocore>=1.7.12",