From 7cd23d15aec91655e3ecf895747a482eb6a7c61e Mon Sep 17 00:00:00 2001 From: Jim Newsome Date: Fri, 10 Dec 2021 10:59:20 -0600 Subject: [PATCH] Upgrade pip before installing python requirements This drastically improves the time to install python requirements on debian:10. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86469a0..39db3b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,6 +167,10 @@ jobs: run: | python3 -m venv build/toolsenv source build/toolsenv/bin/activate + # Drastically improves time to install requirements on platforms with + # older pip in system backages, such as debian-10. + pip3 install --upgrade pip + pip3 install -r tools/requirements.txt pip3 install -I tools/