Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Downgrade pip to work around poise-python issue
Browse files Browse the repository at this point in the history
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] poise/poise-python#133

Depends-On: https://review.openstack.org/610427
Change-Id: I52514691d3f271579628b62539222f7307957ba0
(cherry picked from commit 973119b)
  • Loading branch information
jharbott authored and Samuel Cassiba committed Oct 19, 2018
1 parent 810b25f commit 0392c39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playbooks/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0392c39

Please sign in to comment.