From 498454a13931f93c8f42d1df149d15bb1d22141f Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 20 Jul 2020 12:33:26 -0700 Subject: [PATCH] Use latest pip in gate jobs We've seen failures with probe tests lately where dnspython 2.0.0 is getting installed even though it doesn't support py2 anymore. I think using latest pip should be better about noticing that and installing the last 1.x release intead? Change-Id: I6eda54ccd2792effadb334ce9324887132b62b6f (cherry picked from commit 1c91547643f9c85f152d1d8c15431fec8334e214) --- tools/playbooks/common/install_dependencies.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/playbooks/common/install_dependencies.yaml b/tools/playbooks/common/install_dependencies.yaml index 67dbcf6a96..18fd520658 100644 --- a/tools/playbooks/common/install_dependencies.yaml +++ b/tools/playbooks/common/install_dependencies.yaml @@ -17,6 +17,11 @@ roles: - ensure-pip tasks: + - name: upgrade pip + pip: + name: pip + extra_args: --upgrade + - name: installing dependencies yum: name={{ item }} state=present with_items: