<div dir="ltr">Sorry, it's oslo_db, I'm wrong</div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-09 14:22 GMT+08:00 Sam <span dir="ltr"><<a href="mailto:batmanustc@gmail.com" target="_blank">batmanustc@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I found this:<div><br></div><div>from oslo_config import ...</div><div>from oslo_db import ...</div><div>from neutron_lib import ...</div><div><br></div><div>actually these libraries is oslo.config, oslo.db, neutron.lib</div><div><br></div><div>Why not write like this: from oslo.config import ... ?</div><div><br></div><div>And for local package, its: from neutron.api import ...</div><div><br></div><div>WHY ?</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-03-08 5:28 GMT+08:00 Tony Breeds <span dir="ltr"><<a href="mailto:tony@bakeyournoodle.com" target="_blank">tony@bakeyournoodle.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On Tue, Mar 07, 2017 at 04:04:55PM +0800, Sam wrote:<br>
> Is this?<br>
><br>
> <a href="https://pypi.python.org/pypi/neutron-lib" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/n<wbr>eutron-lib</a><br>
<br>
</span>Make sure you're installing with upper-constratints otehrwise you'll get<br>
components that rely on features for newer releases<br>
<br>
Assuming you're installing with pip something like[1]<br>
<br>
wget '<a href="http://tarballs.openstack.org/neutron/neutron-8.4.0-py2.py3-none-any.whl" rel="noreferrer" target="_blank">http://tarballs.openstack.org<wbr>/neutron/neutron-8.4.0-py2.py3<wbr>-none-any.whl</a>'<br>
wget '<a href="http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka" rel="noreferrer" target="_blank">http://git.openstack.org/cgit<wbr>/openstack/requirements/plain/<wbr>upper-constraints.txt?h=stable<wbr>/mitaka</a>'<br>
<br>
pip install -c upper-constratints.txt ./neutron-8.4.0-py2.py3-none-a<wbr>ny.whl<br>
<br>
Should get you a stable/mitaka neutron with appropriate versions of all<br>
libraries in use.<br>
<br>
Yours Tony.<br>
<br>
[1] You may be able to pass the URLs directly to pip but I haven't tested that for wheels<br>
<br></div></div><span class="">______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>