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: I33a6f9ab1aecf28e82ea756e41c482820758157f
This commit is contained in:
parent
8389ec0f60
commit
19999b4ed8
@ -14,3 +14,7 @@
|
|||||||
# TODO(odyssey4me) remove this once https://review.openstack.org/288634 has merged
|
# TODO(odyssey4me) remove this once https://review.openstack.org/288634 has merged
|
||||||
# and the disk images are rebuilt and redeployed.
|
# and the disk images are rebuilt and redeployed.
|
||||||
curl
|
curl
|
||||||
|
|
||||||
|
# Requirements for Paramiko 2.0
|
||||||
|
libssl-dev
|
||||||
|
libffi-dev
|
||||||
|
@ -19,7 +19,7 @@ FUNCTIONAL_TEST=${FUNCTIONAL_TEST:-false}
|
|||||||
|
|
||||||
# prep the host
|
# prep the host
|
||||||
if [ "$(which apt-get)" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# get pip, if necessary
|
# get pip, if necessary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user