[openstack-dev] nova dependencies, oslo-config and pypi

Mark McLoughlin markmc at redhat.com
Thu Feb 28 15:11:05 UTC 2013


On Thu, 2013-02-28 at 06:30 -0800, Johannes Erdfelt wrote:
> On Thu, Feb 28, 2013, Mark McLoughlin <markmc at redhat.com> wrote:
> > On Mon, 2013-02-25 at 17:26 -0800, Johannes Erdfelt wrote:
> > > On Mon, Feb 25, 2013, Johannes Erdfelt <johannes at erdfelt.com> wrote:
> > > > 1) Add the version to the egg fragment for oslo-config in
> > > >    tools/pip-requires
> > > 
> > > Oh yeah, oslo-config needs to be "escaped" like the docs say. So:
> > > 
> > > #egg=oslo_config-2013.1b4
> > 
> > Trying this out, this ends up in nova.egg-info/requires.txt as:
> > 
> >   oslo_config-2013.1b4
> > 
> > which doesn't make much sense to me?
> 
> See the second bullet point in my original post, you only did the first
> bullet point :)

Ah, apologies.

http://lists.openstack.org/pipermail/openstack-dev/2013-February/005975.html

> 2) Fix the regular expression in parse_requirements (in
>   nova/openstack/common/setup.py) to exclude the version from the
>   match

Also to unescape from oslo_config to oslo-config?

Thanks,
Mark.




More information about the OpenStack-dev mailing list