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
postgresql )
echo "Installing python library for PostgreSQL."
${wrapper} pip install psycopg2
${wrapper} pip install psycopg2==2.8.3
;;
mysql )
echo "Installing python library for MySQL"