Right - all changes to requirements.txt in a project must be already in global-requirements. So propose it there, get that merged, then propose into your local project.
-Rob On 13 July 2015 at 17:08, Qiming Teng <teng...@linux.vnet.ibm.com> wrote: > Hi, > > Tried these in requirements.txt: > > Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7' > Routes!=2.0,>=1.12.3;python_version!='2.7' > > The gate still complains: > > Requirement set([Requirement(package=u'Routes', location='', > specifiers='!=2.0,!=2.1,>=1.12.3', markers=u"python_version=='2.7'", > comment=''), Requirement(package=u'Routes', location='', > specifiers='!=2.0,>=1.12.3', markers=u"python_version!='2.7'", > comment='')]) does not match openstack/requirements value > set([Requirement(package='Routes', location='', > specifiers='!=2.0,!=2.1,>=1.12.3', markers='', comment='')]) > > > Am I supposed to propose a change to the global-requirements to make > this work? > > Thanks. > > Qiming > > On Sat, Jul 04, 2015 at 02:33:51PM +1200, Robert Collins wrote: >> Yes. Use environment markers to specify<= 2 for portion 2.7 and uncapped >> for 3.4. >> On 4 Jul 2015 2:19 pm, "Qiming Teng" <teng...@linux.vnet.ibm.com> wrote: >> >> > >> > The recent change to global-requirements is excluding both 2.0 and 2.1 >> > version of Routes. That is forcing us to use Routes 1.13. However, >> > Routes 1.13 cannot pass py34 tests due to errors like this: >> > >> > >> > "/home/jenkins/workspace/gate-senlin-python34/.tox/py34/lib/python3.4/site-packages/routes/route.py", >> > line 101, in _setup_route >> > for key, val in self.reqs.iteritems(): >> > AttributeError: 'dict' object has no attribute 'iteritems' >> > >> > Any suggestions on a workaround? Thanks. >> > >> > Regards, >> > Qiming >> > >> > >> > __________________________________________________________________________ >> > OpenStack Development Mailing List (not for usage questions) >> > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > > >> __________________________________________________________________________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Robert Collins <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev