zuul-jobs/roles/ensure-sphinx
Ian Wienand e3b7e0dcf6 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
2022-02-09 11:44:06 +11:00
..
defaults ensure-sphinx: Use python3 2022-02-04 08:03:25 +11:00
tasks ensure-sphinx: upgrade pip 2022-02-09 11:44:06 +11:00
README.rst ensure-sphinx: Use python3 2022-02-04 08:03:25 +11:00

Ensure sphinx is installed

Installs sphinx. Also installs any dependencies needed in the first of doc/requirements.txt, releasenotes/requirements.txt and test-requirements.txt to be found.

All pip installs are done with a provided constraints file, if given.

Role Variables

Optional path to a pip constraints file for installing python libraries.