From f4379d5a4aa3f20f6640761ba5bafcc9c25ae446 Mon Sep 17 00:00:00 2001 From: Samuel Cassiba Date: Sun, 14 Oct 2018 21:01:22 -0700 Subject: [PATCH] Add workaround to pin pip to 18.0 The default recipe does not work with the latest version of pip. The workaround is to override to 18.0 Change-Id: If245c3c51930beba151ed8a42cec15131ea28098 (cherry picked from commit 97af7feec5b961f90d4895aa7ca0021ac53bd70d) --- recipes/default.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/default.rb b/recipes/default.rb index 72e2a90c..d9f52687 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -18,6 +18,13 @@ # limitations under the License. # +# install a python +python_runtime '2' do + provider :system + # Workaround for https://github.com/poise/poise-python/issues/133 + pip_version '18.0' +end + platform_options = node['openstack']['common']['platform'] case node['platform_family'] when 'debian'