Avoid cffi 1.14.3 to be installed in CI by old pip versions (#110)

* Avoid cffi 1.14.3 to be installed in CI by old pip versions.

* Avoid too old version being installed.

* Add missing target.
This commit is contained in:
Felix Fontein
2020-09-16 10:48:43 +02:00
committed by GitHub
parent 7dd1f8a6bd
commit 1b3ff44bc2
6 changed files with 14 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
dependencies:
- setup_remote_constraints
- setup_pkg_mgr

View File

@@ -25,6 +25,7 @@
become: True
pip:
name: pyOpenSSL
extra_args: "-c {{ remote_constraints }}"
when: ansible_os_family == 'Darwin'
- name: register pyOpenSSL version

View File

@@ -0,0 +1 @@
needs/file/tests/utils/constraints.txt

View File

@@ -0,0 +1,2 @@
dependencies:
- setup_remote_tmp_dir

View File

@@ -0,0 +1,8 @@
- name: record constraints.txt path on remote host
set_fact:
remote_constraints: "{{ remote_tmp_dir }}/constraints.txt"
- name: copy constraints.txt to remote host
copy:
src: "{{ role_path }}/../../../utils/constraints.txt"
dest: "{{ remote_constraints }}"