[openstack-dev] psycopg2 in nova test-requires

Sean Dague sdague at linux.vnet.ibm.com
Tue Feb 5 21:11:55 UTC 2013


In getting postgresql to be a first class citizen for OpenStack, we've 
got an outstanding review to do migration testing in CI on a pg database 
- https://review.openstack.org/#/c/19951/

For that to work, we need to add psycopg2 to test-requires. On Ubuntu 
that means you'll need postgresql-server-dev-9.1 to build the driver 
(you don't actually need postgresql-server installed or working, it 
skips gracefully).

The other option might be to revisit the idea of test-optional, but that 
raises the issue of different configs for CI and developers, which we've 
shied away from for consistency reasons. If this turns out to be too 
onerous, we could revisit.

	-Sean

-- 
Sean Dague
IBM Linux Technology Center
email: sdague at linux.vnet.ibm.com
alt-email: sldague at us.ibm.com




More information about the OpenStack-dev mailing list