ansible-test - Add Python 2 certifi constraint. (#77863)

* ansible-test - Add Python 2 certifi constraint.

* Fix consul test.

* Fix consul test for centos6.
pull/77995/head
Matt Clay 4 years ago committed by GitHub
parent 3f5a4a7c6a
commit caf8b22472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Add certifi constraint for Python 2.

@ -1,3 +1,4 @@
---
dependencies:
- setup_openssl
- setup_remote_constraints

@ -14,6 +14,7 @@
- name: Install requests<2.20 (CentOS/RHEL 6)
pip:
name: requests<2.20
extra_args: "-c {{ remote_constraints }}"
register: result
until: result is success
when: ansible_distribution_file_variety|default() == 'RedHat' and ansible_distribution_major_version is version('6', '<=')
@ -21,6 +22,7 @@
- name: Install python-consul
pip:
name: python-consul
extra_args: "-c {{ remote_constraints }}"
register: result
until: result is success

@ -46,6 +46,7 @@ botocore >= 1.10.0 # adds support for the following AWS services: secretsmanager
setuptools < 45 ; python_version <= '2.7' # setuptools 45 and later require python 3.5 or later
cffi != 1.14.4 # Fails on systems with older gcc. Should be fixed in the next release. https://foss.heptapod.net/pypy/cffi/-/issues/480
websocket-client < 1 ; python_version < '3' # version 1.0.0 drops support for python 2
certifi < 2020.4.5.2 ; python_version < '3' # version 2020.4.5.2 drops support for python 2
# freeze pylint and its requirements for consistent test results
astroid == 2.3.3

Loading…
Cancel
Save