Added installing of pymysql
We need to use pymysql for python3 and as a result of changing config - for python2. Change-Id: I3421f17f53f470ace945c800de9d197908fb3b10
This commit is contained in:
parent
872cbd7510
commit
527284528f
|
@ -35,7 +35,7 @@ APT_PACKAGES+=" gettext"
|
|||
# Glance-client is required for diskimage-integration jobs
|
||||
PIP_PACKAGES="python-glanceclient"
|
||||
# Requirements for Sahara
|
||||
PIP_PACKAGES+=" mysql-python"
|
||||
PIP_PACKAGES+=" mysql-python pymysql"
|
||||
# Requirements for dib-jobs
|
||||
PIP_PACKAGES+=" python-openstackclient"
|
||||
PIP_PACKAGES+=" pip==8.1.1 tox"
|
||||
|
|
|
@ -48,7 +48,6 @@ case $(echo $JOB_NAME | awk -F '-' '{ print $NF }') in
|
|||
python3)
|
||||
sudo apt install python3-pip python3-dev -y
|
||||
sudo pip3 $pip_cmd
|
||||
sudo pip3 install pymysql
|
||||
;;
|
||||
*)
|
||||
sudo pip $pip_cmd
|
||||
|
|
Loading…
Reference in New Issue