<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 4, 2016, at 3:32 PM, Rob Cresswell <<a href="mailto:robert.cresswell@outlook.com" class="">robert.cresswell@outlook.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div class="">
<div dir="ltr" class="">
<div class="">When you refer to publishing horizon on PyPI, did you mean the entire service (horizon + openstack_dashboard), or just the horizon package?</div>
<div class=""><br class="">
</div>
My advice would be to add the horizon tarball to requirements.txt rather than test-requirements, and just use stable-* tarball when creating stable plugin releases. I'm not sure what the tox method achieves; it seems like it obscures the dependency to me.
</div></div></div></blockquote><div><br class=""></div><div>Linking to tarballs in dependency lists doesn’t let us express which versions are actually compatible, and it doesn’t help packagers understand the true interdependencies of our projects.</div><div><br class=""></div><div>It seems to me that it’s time to split the horizon library (or framework, or whatever) out so we can publish it to PyPI and treat it as a dependency of all of the UI projects we’re spawning.</div><div><br class=""></div><div>Doug</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div dir="ltr" class=""><div class=""><br class="">
</div>
<div class="">Rob</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 4 April 2016 at 02:37, Serg Melikyan <span dir="ltr" class="">
<<a href="mailto:smelikyan@mirantis.com" target="_blank" class="">smelikyan@mirantis.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br class="">
<br class="">
while I was working on bug [0] with incorrect dependency to horizon in<br class="">
stable/mitaka I discovered at least three different ways how people<br class="">
add such dependency:<br class="">
<br class="">
1. tarball dependency in tox.ini [1]<br class="">
2. tarball dependency in test-requirements.txt [2]<br class="">
3. git repo dependency in  test-requirements.txt [3]<br class="">
<br class="">
Question: How to properly depend on horizon?<br class="">
<br class="">
P.S. Looks like update.py in openstack/requirements simply ignores #2<br class="">
and #3 and don't count as extra dependency.<br class="">
<br class="">
P.P.S Why we can't publish horizon to <a href="http://pypi.openstack.org/" rel="noreferrer" target="_blank" class="">
pypi.openstack.org</a>?<br class="">
<br class="">
Reference:<br class="">
[0] <a href="https://bugs.launchpad.net/bugs/1565577" rel="noreferrer" target="_blank" class="">
https://bugs.launchpad.net/bugs/1565577</a><br class="">
[1] <a href="https://github.com/openstack/designate-dashboard/blob/dfa2fc6660467da2f1c53e12aeb7d7aab5d7531e/tox.ini#L20" rel="noreferrer" target="_blank" class="">
https://github.com/openstack/designate-dashboard/blob/dfa2fc6660467da2f1c53e12aeb7d7aab5d7531e/tox.ini#L20</a><br class="">
[2] <a href="https://github.com/openstack/monasca-ui/blob/8861bede7e06d19b265d3425208b4865c480eb69/test-requirements.txt#L25" rel="noreferrer" target="_blank" class="">
https://github.com/openstack/monasca-ui/blob/8861bede7e06d19b265d3425208b4865c480eb69/test-requirements.txt#L25</a><br class="">
[3] <a href="https://github.com/openstack/manila-ui/blob/bf382083b281a77f77df9e0bd51376df49d53b2e/test-requirements.txt#L5" rel="noreferrer" target="_blank" class="">
https://github.com/openstack/manila-ui/blob/bf382083b281a77f77df9e0bd51376df49d53b2e/test-requirements.txt#L5</a><br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
--<br class="">
Serg Melikyan, Development Manager at Mirantis, Inc.<br class="">
<a href="http://mirantis.com/" rel="noreferrer" target="_blank" class="">http://mirantis.com</a> |
<a href="mailto:smelikyan@mirantis.com" class="">smelikyan@mirantis.com</a><br class="">
<br class="">
__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
</font></span></blockquote>
</div>
<br class="">
</div>
</div>

__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></div></blockquote></div><br class=""></body></html>