Revert "Install venv for all platforms in ensure-pip"
This reverts commit 0aca372814
.
This uses the variable ensure_pip_from_upstream_interpreters to
install python-venv packages.
ensure_pip_from_upstream_interpreters is documented as being a list of
python interpreters to run "get-pip.py" with to install pip globally.
This only happens if ensure_pip_from_upstream is set to True.
It's unclear from the original discussion in the change at least, what
this was trying to fix. It's also unclear why this would skip
packages, and what circumstances that is required in. It's now
causing more confusion as we try to add fixes ontop of that.
Revert this -- whatever this is doing, we should find the right way to
do it, which isn't this.
Change-Id: Ieada7ec2d2c7320d7aacb9a5dc6de52394c11ed1
This commit is contained in:
parent
e6b747b32b
commit
372f3af706
@ -12,15 +12,6 @@
|
||||
- python3-wheel
|
||||
become: yes
|
||||
|
||||
# Debian packages venv separately, so make sure we are installing it for
|
||||
# all requested versions
|
||||
- name: Install venv for all versions
|
||||
package:
|
||||
name: "{{ ensure_pip_from_upstream_interpreters | product(['-venv']) | map('join') | list }}"
|
||||
become: yes
|
||||
# Be flexible in case the platform doesn't have the requested package
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Install Python 2 pip
|
||||
package:
|
||||
name:
|
||||
|
Loading…
Reference in New Issue
Block a user