1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 packaging
requests[security] requests[security]
azure-mgmt-compute>=2.0.0,<3 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: - pip:
requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt' requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt'