Fix the lower-requirements job: libpq-dev, psycopg 2.7

- Add libpq-dev to bindep.txt
  Apparently this is needed after some unclear change.
  Without this, psycopg fails to install:
  "You need to install postgresql-server-dev-X.Y for building a server-side
  extension or libpq-dev for building a client-side application."

- Bump the minimum version of psycopg to 2.7.2
  pysycopg 2.6.2 is not able to deal with PostgreSQL 10:
  "Error: could not determine PostgreSQL version from '10.6'"

Thanks to https://review.openstack.org/643231

Change-Id: If4ecc6a80bed338a0117adee0e6d361c135d9123
This commit is contained in:
Luigi Toscano 2019-03-18 23:36:42 +01:00
parent cd68ad367c
commit f0a1cc99d0
3 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ mysql-client [platform:dpkg]
mysql-server [platform:dpkg] mysql-server [platform:dpkg]
postgresql postgresql
postgresql-client [platform:dpkg] postgresql-client [platform:dpkg]
libpq-dev [platform:dpkg]
postgresql-server [platform:rpm] postgresql-server [platform:rpm]
# The Python binding for libguestfs are used by the sahara-image-pack # The Python binding for libguestfs are used by the sahara-image-pack

View File

@ -95,7 +95,7 @@ pbr==2.0.0
pika-pool==0.1.3 pika-pool==0.1.3
pika==0.10.0 pika==0.10.0
prettytable==0.7.2 prettytable==0.7.2
psycopg2==2.6.2 psycopg2==2.7.3
pyasn1==0.4.2 pyasn1==0.4.2
pycadf==2.7.0 pycadf==2.7.0
pycparser==2.18 pycparser==2.18

View File

@ -13,7 +13,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0
psycopg2>=2.6.2 # LGPL/ZPL psycopg2>=2.7.3 # LGPL/ZPL
pylint==1.4.5 # GPLv2 pylint==1.4.5 # GPLv2
testresources>=2.0.0 # Apache-2.0/BSD testresources>=2.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD