<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 7:58 AM, Mark McLoughlin <span dir="ltr"><<a href="mailto:markmc@redhat.com" target="_blank">markmc@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 2013-07-15 at 14:28 -0400, Doug Hellmann wrote:<br>
> On Mon, Jul 15, 2013 at 11:03 AM, Monty Taylor <<a href="mailto:mordred@inaugust.com">mordred@inaugust.com</a>> wrote:<br>
><br>
> > I was looking in to dependency processing as part of some pbr change,<br>
> > which got me to look at the way we're doing oslo-config dev requirements<br>
> > again. To start, this email is not about causing us to change what we're<br>
> > doing, only possibly the mechanics of what we put in the<br>
> > requirements.txt file- or to get a more specific example of what we're<br>
> > solving so that I can make a test case for it and ensure we're handling<br>
> > it properly.<br>
> ><br>
> > Currently, we have this:<br>
> ><br>
> > -f<br>
> ><br>
> > <a href="http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3" target="_blank">http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3</a><br>
> > oslo.config>=1.2.0a3<br>
> ><br>
> > As the way to specify to install >- 1.2.0a3 of oslo.config. I believe<br>
> > this construct has grown in response to a sequence of issues, but it's<br>
> > complex and fragile, so I'd like to explore what's going on.<br>
> ><br>
> > The simplest answer would be simply to replace it with:<br>
> ><br>
> > <a href="http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz" target="_blank">http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz</a><br>
> ><br>
> > which will quite happily cause pip to install the contents of that<br>
> > tarball. It does not declare a version, but it's not necessary to,<br>
> > because the tarball has only one version that it is. Is there a problem<br>
> > we have identified where the wrong thing is happening?<br>
> ><br>
><br>
> > I've tested that I get the right thing in a virtualenv if I make that<br>
> > change from pip installing a tarball, pip installing the requirements<br>
> > directly and python setup.py install. Is there anything I'm missing?<br>
> ><br>
> > Monty<br>
> ><br>
><br>
><br>
> Without the version specifier, we are relying on all projects to install<br>
> the right version from that tarball link when we run devstack, but we have<br>
> no guarantee that they are moving to new releases in lockstep.<br>
<br>
</div></div>Yep, that's it. The thing to test would be if some projects have the<br>
1.2.0a2 tarball link and an one has the 1.2.0a3 link because it depends<br>
on an API that's new in 1.2.0a3.<br></blockquote><div><br></div><div>It's worse than that. What gets installed will depend on the order devstack installs the projects and what their respective requirements lists say. It is possible to end up with compatible source code installed, but with a version number that setuptools thinks is not compatible based on projects' requirements. In that case, setuptools may not let us load plugins, so services will start but not actually work.</div>
<div><br></div><div>Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Mark.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>