ensure-sphinx: upgrade pip
Change I98c3da5b02a4ac7fb9d7bd8e00170762e77b9f40 caused a regression, because previously virtualenv would be pulling the latest pip, whereas "pip -m venv" is using the system-vendored pip, which is older. Upgrade pip to the latest in the sphinx environment to maintain the status-quo. Change-Id: I1004c2727379f73eafc8b32a3e14842200ad342c
This commit is contained in:
parent
9d69672a57
commit
e3b7e0dcf6
@ -37,6 +37,18 @@
|
||||
done
|
||||
register: requirements_file
|
||||
|
||||
# Ensure we have the latest pip in the sphinx venv, not the system
|
||||
# one. Older pips don't do things like parse version constraints or
|
||||
# rust build flags correctly, and some jobs like the translate jobs
|
||||
# use this environment to install from master requirements.txt that
|
||||
# needs this sort of thing to work.
|
||||
- name: Setup virtual environment
|
||||
pip:
|
||||
name: pip
|
||||
virtualenv: '{{ zuul_work_virtualenv }}'
|
||||
virtualenv_command: '{{ ensure_pip_virtualenv_command }}'
|
||||
extra_args: '--upgrade'
|
||||
|
||||
- name: Install base doc building packages
|
||||
pip:
|
||||
name: "{{ doc_building_packages | union(doc_building_extra_packages) }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user