From 85b92f8c4495a9827e21133b9006459ca7504734 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 3 May 2016 08:56:44 +0100 Subject: [PATCH] Add dependencies for paramiko 2.0 Paramiko version 2.0 has been released. It now uses the Python library cryptography. Installing this requires additional system packages. This commit adds in the appropriate packages required by cryptography based on its documentation [1]. An alternative approach would have been to constrain the version of Paramiko however the project describes the 1.x versions as relying on insecure dependencies [2]. [1] https://cryptography.io/en/latest/installation/ [2] http://www.paramiko.org/installing.html Change-Id: I0994dcd713391235946b4d9aa762b518bd0eddae --- other-requirements.txt | 4 ++++ run_tests.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 run_tests.sh diff --git a/other-requirements.txt b/other-requirements.txt index 6eac5c23..67cd643a 100644 --- a/other-requirements.txt +++ b/other-requirements.txt @@ -14,3 +14,7 @@ # TODO(odyssey4me) remove this once https://review.openstack.org/288634 has merged # and the disk images are rebuilt and redeployed. curl + +# Requirements for Paramiko 2.0 +libssl-dev +libffi-dev diff --git a/run_tests.sh b/run_tests.sh old mode 100644 new mode 100755 index 6a711cf2..d9d15b8a --- a/run_tests.sh +++ b/run_tests.sh @@ -19,7 +19,7 @@ FUNCTIONAL_TEST=${FUNCTIONAL_TEST:-true} # prep the host if [ "$(which apt-get)" ]; then - apt-get install -y build-essential python2.7 python-dev git-core + apt-get install -y build-essential python2.7 python-dev git-core libssl-dev libffi-dev fi # get pip, if necessary