[requirements][FFE][congress] remove psycopg2>=2.7

Ben Nemec openstack at nemebean.com
Thu Apr 4 15:23:45 UTC 2019

On 4/4/19 8:54 AM, Matthew Thode wrote:
> On 19-04-04 01:20:18, Eric K wrote:
>> Requesting exception to remove a requirement to resolve a packaging issue.
>> The package is needed only for an experimental feature, but causes
>> packaging issue on RHEL/CentOS 7. Propose to remove from requirements and
>> require manual install to enable the experimental feature.
>> https://review.openstack.org/#/c/649772/
> I imagine psycopg2 is one of many dependencies that are not fully
> compliant with our upper-constraints (and probably a bunch of projects
> global-constraints).  Is it possible to lower the version required (be
> compatible with 2.6 or whatever is in centos)?  The requirements project
> itself sets no lower bound for psycopg2.

Note that if your tests actually install psycopg2 you won't be able to 
use lower than 2.7 anymore. Bionic includes postgresql 10, which causes 
psycopg2 < 2.7 installation to fail.

See https://bugs.launchpad.net/oslo.db/+bug/1821400

More information about the openstack-discuss mailing list