<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 5:14 PM, Ben Nemec <span dir="ltr"><<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:Verdana,Geneva,sans-serif"><div class="im">
<p>On 2014-01-08 12:14, Doug Hellmann wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px">
<div dir="ltr">
<div style="font-size:small"> </div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Jan 8, 2014 at 12:37 PM, Ben Nemec <span><<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex">
<div>On 2014-01-08 11:16, Sean Dague wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex">On 01/08/2014 12:06 PM, Doug Hellmann wrote:<br> <snip><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex">Yeah, that's what made me start thinking oslo.sphinx should be called<br>
 something else.<br><br> Sean, how strongly do you feel about not installing oslo.sphinx in<br> devstack? I see your point, I'm just looking for alternatives to the<br> hassle of renaming oslo.sphinx.</blockquote>
<br> Doing the git thing is definitely not the right thing. But I guess I got<br> lost somewhere along the way about what the actual problem is. Can<br> someone write that up concisely? With all the things that have been<br>
 tried/failed, why certain things fail, etc.</blockquote>
</div>
The problem seems to be when we pip install -e oslo.config on the system, then pip install oslo.sphinx in a venv.  oslo.config is unavailable in the venv, apparently because the namespace package for o.s causes the egg-link for o.c to be ignored.  Pretty much every other combination I've tried (regular pip install of both, or pip install -e of both, regardless of where they are) works fine, but there seem to be other issues with all of the other options we've explored so far.<br>
<br> We can't remove the pip install -e of oslo.config because it has to be used for gating, and we can't pip install -e oslo.sphinx because it's not a runtime dep so it doesn't belong in the gate.  Changing the toplevel package for oslo.sphinx was also mentioned, but has obvious drawbacks too.<br>
<br> I think that about covers what I know so far.</blockquote>
<div> </div>
<div>
<div style="font-size:small">Here's a link dstufft provided to the pip bug tracking this problem: <a href="https://github.com/pypa/pip/issues/3" target="_blank">https://github.com/pypa/pip/issues/3</a></div>
<div style="font-size:small"> </div>
<div style="font-size:small">Doug</div>
</div>
</div>
</div>
</div>
</blockquote>
</div><div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>This just bit me again trying to run unit tests against a fresh Nova tree.    I don't think it's just me either - Matt Riedemann said he has been disabling site-packages in tox.ini for local tox runs.  We really need to do _something_ about this, even if it's just disabling site-packages by default in tox.ini for the affected projects.  A different option would be nice, but based on our previous discussion I'm not sure we're going to find one.</div>

<div> </div>
<div>Thoughts?</div></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Is the problem isolated to oslo.sphinx? That is, do we end up with any configurations where we have 2 oslo libraries installed in different modes (development and "regular") where one of those 2 libraries is not oslo.sphinx? Because if the issue is really just oslo.sphinx, we can rename that to move it out of the namespace package.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Doug</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Verdana,Geneva,sans-serif"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>-Ben</div>
</font></span></div>
</div>
</div>
<div> </div>
</div>
</blockquote></div><br></div></div>