From aaf687941360978401090b4c66244bdd5885fed8 Mon Sep 17 00:00:00 2001 From: Eyal Date: Tue, 22 Oct 2019 13:43:35 +0300 Subject: [PATCH] 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 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index da17558c9..c1e8ed30a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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"