Posted by: terryhowe | December 22, 2014

devstack Could not find a version that satisfies the requirement prettytable>0.7

With the latest version of pip, devstack is broken with:


Collecting prettytable>0.7
Could not find a version that satisfies the requirement prettytable>0.7 (from versions: )
No distributions matching the version for prettytable>0.7

You’ll need this patch:


diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh
index 1732ecc..7da3b31 100755
--- a/tools/fixup_stuff.sh
+++ b/tools/fixup_stuff.sh
@@ -79,7 +79,7 @@ function get_package_path {

# Fix prettytable 0.7.2 permissions
# Don't specify --upgrade so we use the existing package if present
-pip_install 'prettytable>0.7'
+pip_install 'prettytable>=0.7'
PACKAGE_DIR=$(get_package_path prettytable)
# Only fix version 0.7.2
dir=$(echo $PACKAGE_DIR/prettytable-0.7.2*)

Outstanding review: https://review.openstack.org/#/c/143504/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: