<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>When you refer to publishing horizon on PyPI, did you mean the entire service (horizon + openstack_dashboard), or just the horizon package?</div>
<div><br>
</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><br>
</div>
<div>Rob</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 4 April 2016 at 02:37, Serg Melikyan <span dir="ltr">
<<a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
while I was working on bug [0] with incorrect dependency to horizon in<br>
stable/mitaka I discovered at least three different ways how people<br>
add such dependency:<br>
<br>
1. tarball dependency in tox.ini [1]<br>
2. tarball dependency in test-requirements.txt [2]<br>
3. git repo dependency in  test-requirements.txt [3]<br>
<br>
Question: How to properly depend on horizon?<br>
<br>
P.S. Looks like update.py in openstack/requirements simply ignores #2<br>
and #3 and don't count as extra dependency.<br>
<br>
P.P.S Why we can't publish horizon to <a href="http://pypi.openstack.org" rel="noreferrer" target="_blank">
pypi.openstack.org</a>?<br>
<br>
Reference:<br>
[0] <a href="https://bugs.launchpad.net/bugs/1565577" rel="noreferrer" target="_blank">
https://bugs.launchpad.net/bugs/1565577</a><br>
[1] <a href="https://github.com/openstack/designate-dashboard/blob/dfa2fc6660467da2f1c53e12aeb7d7aab5d7531e/tox.ini#L20" rel="noreferrer" target="_blank">
https://github.com/openstack/designate-dashboard/blob/dfa2fc6660467da2f1c53e12aeb7d7aab5d7531e/tox.ini#L20</a><br>
[2] <a href="https://github.com/openstack/monasca-ui/blob/8861bede7e06d19b265d3425208b4865c480eb69/test-requirements.txt#L25" rel="noreferrer" target="_blank">
https://github.com/openstack/monasca-ui/blob/8861bede7e06d19b265d3425208b4865c480eb69/test-requirements.txt#L25</a><br>
[3] <a href="https://github.com/openstack/manila-ui/blob/bf382083b281a77f77df9e0bd51376df49d53b2e/test-requirements.txt#L5" rel="noreferrer" target="_blank">
https://github.com/openstack/manila-ui/blob/bf382083b281a77f77df9e0bd51376df49d53b2e/test-requirements.txt#L5</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Serg Melikyan, Development Manager at Mirantis, Inc.<br>
<a href="http://mirantis.com" rel="noreferrer" target="_blank">http://mirantis.com</a> |
<a href="mailto:smelikyan@mirantis.com">smelikyan@mirantis.com</a><br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</body>
</html>