From 973119bad3fa163a1c3ad2b4190740818fc7d44f Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Mon, 15 Oct 2018 11:31:02 +0000 Subject: [PATCH] Downgrade pip to work around poise-python issue There is a bug in the poise-python cookbook because it depends on internal features of pip and these internals have changed in pip 18.1, see [0]. We have a workaround in the openstack-common cookbook proposed, but that doesn't work if the server has pip 18.1 pre-installed, as seems to be the case for the infra-provided CI image. So as a further workaround we need to downgrade the pre-installed pip version for the time being. [0] https://github.com/poise/poise-python/issues/133 Depends-On: https://review.openstack.org/610427 Change-Id: I52514691d3f271579628b62539222f7307957ba0 --- playbooks/pre.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/pre.yaml b/playbooks/pre.yaml index 0e87d54..f3cbab9 100644 --- a/playbooks/pre.yaml +++ b/playbooks/pre.yaml @@ -16,4 +16,7 @@ - name: Install chefdk package shell: dpkg -i /tmp/{{ chefdk }} become: yes + - name: Downgrade pip to 18.0 as workaround for https://github.com/poise/poise-python/issues/133 + shell: pip install pip==18.0 + become: yes