Update Azure tests to limit cryptography version. (#31616)

* Revert "Work around cryptography 2.1 requiring pip 8.1.2+"

This reverts commit a10a80b8a3.

* Update Azure tests to limit cryptography version.
This commit is contained in:
Matt Clay 2017-10-11 19:18:16 -07:00 committed by GitHub
parent 03ec3cd572
commit 8acb901bf2
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,3 @@
cryptography>=1.3.4,<2.1 # cryptography 2.1 requires pip 8.1.2+
packaging
requests[security]
azure-mgmt-compute>=2.0.0,<3

View file

@ -1,2 +1,8 @@
- name: install cryptography requirement
# preempt the installation of cryptography from requirements-azure.txt to limit the version installed
# requests[security] requires cryptography >= 1.3.4
# cryptography 2.1 requires pip 8.1.2+
command: pip install cryptography>=1.3.4,<2.1
- pip:
requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt'