Upgrade pip before installing zuul

The new cryptography release needs either a recent pip to be able to
use abi3 wheels or a rust compiler on the system to make the source
installation work. Thus upgrade pip to use the wheels.

Change-Id: Ied6007f9f834f313063e2e56a057a7082a71e5c4
This commit is contained in:
Tobias Henkel 2021-02-10 21:37:50 +01:00
parent dddbb3dbfe
commit 077e9537d2
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@
post_tasks:
- name: Install software
command: python3 -m pip install src/opendev.org/zuul/zuul
shell: |+
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install src/opendev.org/zuul/zuul
become: yes
- name: Install managed ansible versions