Ensure the fallback uses the same install method
We have a test to ensure the install method of pip is from distro or get-pip. But if an issue appeared in the first task, the fallback method will automatically fallback to get-pip instead of fallback to the isolated version of the pre-defined CLI. This should ensure consistency by not using get-pip if it's not needed. Change-Id: I7aa4056ffb9bc2162f0960e74b6458bcbffa141f
This commit is contained in:
parent
ccdc8c4575
commit
b6024a9184
|
@ -30,7 +30,7 @@
|
||||||
rescue:
|
rescue:
|
||||||
- name: Install PIP (fall back mode)
|
- name: Install PIP (fall back mode)
|
||||||
command: >
|
command: >
|
||||||
python /opt/get-pip.py --isolated
|
{{ pip_install_script.stdout }} --isolated
|
||||||
{{ (pip_install_upper_constraints is defined) |
|
{{ (pip_install_upper_constraints is defined) |
|
||||||
ternary('--constraint ' ~ pip_install_upper_constraints | default(''), '') }}
|
ternary('--constraint ' ~ pip_install_upper_constraints | default(''), '') }}
|
||||||
{{ pip_source_install_options }}
|
{{ pip_source_install_options }}
|
||||||
|
|
Loading…
Reference in New Issue