Add constraints for Jinja2 on Python 2.6. (#66826)
* Add constraint for Jinja2 on Python 2.6. * Fix constraint in inventory_aws_conformance test. * Add constrraints for template_jinja2_latest test.
This commit is contained in:
parent
4ca0c7f116
commit
965854fbd2
5 changed files with 7 additions and 2 deletions
2
changelogs/fragments/ansible-test-jinja2-python-2.6.yml
Normal file
2
changelogs/fragments/ansible-test-jinja2-python-2.6.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ansible-test now limits Jinja2 installs to version 2.10 and earlier on Python 2.6
|
|
@ -4,7 +4,7 @@ set -eux
|
|||
|
||||
source virtualenv.sh
|
||||
|
||||
pip install "python-dateutil>=2.1,<2.7.0" jmespath "Jinja2>=2.10"
|
||||
pip install "python-dateutil>=2.1,<2.7.0" jmespath "Jinja2==2.10"
|
||||
|
||||
# create boto3 symlinks
|
||||
ln -s "$(pwd)/lib/boto" "$(pwd)/lib/boto3"
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
jinja2 < 2.11 ; python_version < '2.7' # jinja2 2.11 and later require python 2.7 or later
|
||||
jinja2 ; python_version >= '2.7'
|
|
@ -4,7 +4,7 @@ set -eux
|
|||
|
||||
source virtualenv.sh
|
||||
|
||||
pip install -U jinja2
|
||||
pip install -U -r requirements.txt
|
||||
|
||||
ANSIBLE_ROLES_PATH=../
|
||||
export ANSIBLE_ROLES_PATH
|
||||
|
|
|
@ -2,6 +2,7 @@ coverage >= 4.2, < 5.0.0, != 4.3.2 ; python_version <= '3.7' # features in 4.2+
|
|||
coverage >= 4.5.4, < 5.0.0 ; python_version > '3.7' # coverage had a bug in < 4.5.4 that would cause unit tests to hang in Python 3.8, coverage 5.0+ incompatible
|
||||
cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6
|
||||
deepdiff < 4.0.0 ; python_version < '3' # deepdiff 4.0.0 and later require python 3
|
||||
jinja2 < 2.11 ; python_version < '2.7' # jinja2 2.11 and later require python 2.7 or later
|
||||
urllib3 < 1.24 ; python_version < '2.7' # urllib3 1.24 and later require python 2.7 or later
|
||||
pywinrm >= 0.3.0 # message encryption support
|
||||
sphinx < 1.6 ; python_version < '2.7' # sphinx 1.6 and later require python 2.7 or later
|
||||
|
|
Loading…
Reference in a new issue