[requirements][FFE][congress] lower psycopg2 requirement to 2.5.1

Sean Mooney smooney at redhat.com
Fri Apr 5 09:59:50 UTC 2019

On Thu, 2019-04-04 at 15:20 -0800, Eric K wrote:
> On 4/4/19, 1:51 PM, "Matthew Thode" <mthode at mthode.org> wrote:
> > On 19-04-04 14:30:51, Eric K wrote:
> > > Requesting exception to lower a requirement to resolve a packaging
> > > issue.
> > > 
> > > https://review.openstack.org/#/c/650100/
> > > 
> > 
> > This is more of a stable question, it's late in the cycle but it sounds
> > possibly needed.  I think this is fine technically, but not sure about
> > it policy wise.  To me it sounds more of CentOS's problem than
> > Openstack's (to be a bit brash).  Added the stable tag to the thread.
> > 
> > -- 
> > Matthew Thode
> Thanks Matthew. I'm not so worried about stability because even if it
> breaks
> Something it affects only a new (Stein) experimental feature no one is
> relying on.
congresses lower constraints job

is broken the same way as novas was because of the install command that is used

so https://review.openstack.org/#/c/650100/
sets the lower constatit to something that is invalid for the gate job
which runs on ubuntu. if you look at the output of the job

we can see its using psycopg2
Collecting psycopg2===2.7.7 (from -c /home/zuul/src/git.openstack.org/openstack/requirements/upper-constraints.txt (line

it is technically true that psycopg2==2.5.1 will work on centos but until this is restored to 2.7 the gate job cannot be

pep-0508 defines a set of markers we can use for packageing

the only marker that i know of that contains the disto name is "platform_version"

we should be able to do something like

psycopg2==2.5.1; platform_version~=CENTOS

but i dont think we should be breaking one distor to fix another when the lower constatint.txt wont be used to build the
centos packages anyway lower-constiatns will only be used when installing from pip in which case the distro versions is
not relevent unless i have missed something.

More information about the openstack-discuss mailing list