Default zuul_pip_executable to pip3
Moving forward, we'll only support zuul under python3. Change-Id: I3fdabe07e6aceff68442dfb295fb3c24d6e05b58 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
6cb235189a
commit
cdba41e540
@ -18,6 +18,8 @@ so that changes are only merged if they pass tests.
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* pip3 to be installed if using zuul_install_method: (git|pip)
|
||||
|
||||
See `bindep.txt` for role dependencies.
|
||||
|
||||
Packages
|
||||
|
@ -25,4 +25,12 @@
|
||||
with_items: "{{ zuul_build_depends }}"
|
||||
when: zuul_install_method == 'git'
|
||||
|
||||
- name: Define zuul_pip_executable if needed.
|
||||
set_fact:
|
||||
zuul_pip_executable: pip3
|
||||
when:
|
||||
- zuul_install_method == 'git' or zuul_install_method == 'pip'
|
||||
- zuul_pip_virtualenv_python is not defined
|
||||
- zuul_pip_executable is not defined
|
||||
|
||||
- include: "install/{{ zuul_install_method }}.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user