Cap psycopg2 to 2.8.3

Gate is failing in installing the latest 2.8.4
see https://zuul.opendev.org/t/openstack/build/fae3aadf6a6f43ebb8c8baa23bfb9801/log/job-output.txt#983

This workaround fixes this

Change-Id: I030aca53928d641ae2f787cd4f8dfce5d3e2b841
This commit is contained in:
Eyal 2019-10-22 13:43:35 +03:00
parent dfcd058144
commit aaf6879413

View File

@ -135,7 +135,7 @@ function setup_db_pylib {
case ${db_type} in case ${db_type} in
postgresql ) postgresql )
echo "Installing python library for PostgreSQL." echo "Installing python library for PostgreSQL."
${wrapper} pip install psycopg2 ${wrapper} pip install psycopg2==2.8.3
;; ;;
mysql ) mysql )
echo "Installing python library for MySQL" echo "Installing python library for MySQL"