Fix uri test on Python 2.6.
This commit is contained in:
parent
00abe6dbe7
commit
1fd9a616a4
2 changed files with 2 additions and 0 deletions
1
test/integration/targets/uri/files/constraints.txt
Normal file
1
test/integration/targets/uri/files/constraints.txt
Normal file
|
@ -0,0 +1 @@
|
|||
cryptography < 2.2 ; python_version < "2.7" # cryptography 2.2+ requires python 2.7+
|
|
@ -285,6 +285,7 @@
|
|||
pip:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
extra_args: "-c {{ role_path }}/files/constraints.txt"
|
||||
with_items:
|
||||
- urllib3
|
||||
- PyOpenSSL
|
||||
|
|
Loading…
Reference in a new issue