Fix lower-constraints job

lower-constraints job is broken due to fail to install psycopg.

Spotted log:

http://logs.openstack.org/02/642402/6/check/openstack-tox-lower-constraints/ca317fe/job-output.txt.gz#_2019-03-14_01_51_01_006156

Add libpq-dev to the bindep and bump psycopg version to >= 2.7 as evidence
shows it has a bug to support PostgreSQL >= 10.0 [1]

[1] https://github.com/getredash/redash/pull/2111

Change-Id: I1d5f0dab41638be1df9d63ede267f5a6d9f8c566
This commit is contained in:
Kaifeng Wang 2019-03-14 13:55:52 +08:00
parent c9556d8b51
commit 2eceb3c8ab
3 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ python3-devel [platform:rpm test]
build-essential [platform:dpkg test]
libssl-dev [platform:dpkg test]
# these are needed by infra for python-* jobs
libpq-dev [platform:dpkg test]
postgresql
postgresql-client [platform:dpkg]
# postgresql-devel [platform:rpm]

View File

@ -98,7 +98,7 @@ pika==0.10.0
Pillow==5.0.0
prettytable==0.7.2
psutil==3.2.2
psycopg2==2.6.2
psycopg2==2.7.3
pycadf==2.7.0
pycodestyle==2.3.1
pycparser==2.18

View File

@ -11,7 +11,7 @@ PyMySQL>=0.7.6 # MIT License
iso8601>=0.1.11 # MIT
oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
psycopg2>=2.6.2 # LGPL/ZPL
psycopg2>=2.7.3 # LGPL/ZPL
testtools>=2.2.0 # MIT
testresources>=2.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD