On Thu, Apr 4, 2019, at 7:50 AM, Matthew Thode wrote:
On 19-04-04 08:32:56, Alex Schultz wrote:
On Thu, Apr 4, 2019 at 7:58 AM Matthew Thode <mthode@mthode.org> 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.
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.
Centos7 has 2.5. I had asked about getting 2.7 in RDO but if it's optional it would be nice for it not to be included by default. We hit the issue in puppet-congress so we disabled out actual test jobs[0] because congress currently doesn't work on ubuntu[1] and was broken on centos[2] by this new requirement.
[0] https://review.openstack.org/#/c/649439/ [1] http://logs.openstack.org/33/647333/1/check/puppet-openstack-beaker-ubuntu-b... [2] http://logs.openstack.org/33/647333/1/check/puppet-openstack-beaker-centos-7...
extra_requires may work for you (makes postgres support optional) https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras...
not sur eif pbr supports it though.
PBR should support it. Here is an example from swiftclient installing keystoneclient as an extra [3]. [3] https://git.openstack.org/cgit/openstack/python-swiftclient/tree/setup.cfg#n...