[stable-2.9] incidental_setup_openssl - Pin version of Python packages (#71777)

A recent update to cffi that was yanked is still being installed on our
Mac OS X 10.11 test image since the version of pip there is very old and
does not ignore yanked packages.

Pin the version of pyOpenSSL and its dependencies to fix this and avoid
future spontaneous failures.
(cherry picked from commit 65cdb86c8a)

Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/71819/head
Sam Doran 5 years ago committed by GitHub
parent ca6b9c4649
commit 3e26c56edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,15 @@
- name: Install pyOpenSSL (Darwin)
become: True
pip:
name: pyOpenSSL
name:
- pyOpenSSL==19.1.0
# dependencies for pyOpenSSL
- cffi==1.14.2
- cryptography==3.1
- enum34==1.1.10
- ipaddress==1.0.23
- pycparser==2.20
- six==1.15.0
when: ansible_os_family == 'Darwin'
- name: register pyOpenSSL version

Loading…
Cancel
Save