[openstack-dev] [Requirements][Routes][Senlin] Which version of Routes to use now?

Qiming Teng tengqim at linux.vnet.ibm.com
Mon Jul 13 05:08:00 UTC 2015


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" <tengqim at 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-request at 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-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list