[openstack-dev] [requirements][nova] weird error on 'Validating lower constraints of test-requirements.txt'

Doug Hellmann doug at doughellmann.com
Fri Jun 15 13:01:24 UTC 2018


Excerpts from Balázs Gibizer's message of 2018-06-15 13:34:09 +0200:
> 
> On Fri, Jun 15, 2018 at 11:36 AM, Chen CH Ji <jichenjc at cn.ibm.com> 
> wrote:
> > on patch [1] , PS 50 and PS51 just a minor rebase but PS51 start to 
> > fail on requirements-check with following error in [2]
> > 
> > Validating lower constraints of test-requirements.txt
> > *** Incompatible requirement found!
> > *** See http://docs.openstack.org/developer/requirements
> > 
> > but it doesn't provide enough info to know what's wrong , and because 
> > I didn't make too much change , curious on why
> > the job failed... can anyone provide any hint on what happened there? 
> > thanks
> > 
> > [1]https://review.openstack.org/#/c/523387
> > [2]http://logs.openstack.org/87/523387/51/check/requirements-check/3598ba0/job-output.txt.gz
> > 
> 
> Looking at your change and the state of the global requirements repo I 
> see the following contradiction 
> https://github.com/openstack/requirements/blob/a07ef1c282a37a4bcc93166ddf4cdc97f7626d5d/lower-constraints.txt#L151 
> says zVMCloudConnector===0.3.2
> while 
> https://review.openstack.org/#/c/523387/51/lower-constraints.txt@173 
> says zVMCloudConnector==1.1.1
> 
> Based on the history of the lower-constraints.txt in the global repo 
> you have to manually bump the lower constraint there as well 
> https://github.com/openstack/requirements/commits/master/lower-constraints.txt

No, that file is not used and does not need to be changed.

The lower constraints tests only look at files in the same repo.
The minimum versions of dependencies set in requirements.txt,
test-requirements.txt, etc. need to match the values in
lower-constraints.txt.

In this case, the more detailed error message is a few lines above the
error quoted by Chen CH Ji. The detail say "Requirement for package
retrying has no lower bound" which means that there is a line in
requirements.txt indicating a dependency on "retrying" but without
specifying a minimum version. That is the problem.

Doug



More information about the OpenStack-dev mailing list