<div dir="ltr">Gareth, <div><br></div><div><br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">A real example is to enable Rally for OpenStack Juno. Rally doesn't support old </span><span class="" style="font-size:12.8000001907349px;background-color:rgb(255,255,255)">release</span><span style="font-size:12.8000001907349px"> officially but I could checkout its codes to the Juno </span><span class="" style="font-size:12.8000001907349px;background-color:rgb(255,255,255)">release</span><span style="font-size:12.8000001907349px"> date which make both codes match. However even if I use the old requirements.txt to install </span><span class="" style="font-size:12.8000001907349px;background-color:rgb(255,255,255)">dependencies</span><span style="font-size:12.8000001907349px">, there must be many packages are installed as upstream versions and some of them breaks. An ugly way is to copy pip list from old Juno environment and install those properly. I hope there are better ways to do this work. Anyone has smart ideas?</span></blockquote><div><br></div><div>Install everything in virtualenv (or at least Rally) </div><div><br></div><div>Best regards,</div><div>Boris Pavlovic </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 26, 2015 at 7:00 AM, Gareth <span dir="ltr"><<a href="mailto:academicgareth@gmail.com" target="_blank">academicgareth@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey guys,<div><br></div><div>I have a question about dependencies. There is an example:</div><div><br></div><div>On 2014.1, project A is released with its dependency in requirements.txt which contains:</div><div><br></div><div>foo>=1.5.0</div><div>bar>=2.0.0,<2.2.0</div><div><br></div><div>and half a year later, the requirements.txt changes to:</div><div><br></div><div>foo>=1.7.0</div><div>bar>=2.1.0,<2.2.0</div><div><br></div><div>It looks fine, but potential change would be upstream version of package foo and bar become 2.0.0 and 3.0.0 (major version upgrade means there are incompatible changes).</div><div><br></div><div>For bar, there will be no problems, because "<2.2.0" limit the version from major version changes. But with 2.0.0 foo, it will break the installation of 2014.1 A, because current development can't predict every incompatible changes in the future.</div><div><br></div><div>A real example is to enable Rally for OpenStack Juno. Rally doesn't support old release officially but I could checkout its codes to the Juno release date which make both codes match. However even if I use the old requirements.txt to install dependencies, there must be many packages are installed as upstream versions and some of them breaks. An ugly way is to copy pip list from old Juno environment and install those properly. I hope there are better ways to do this work. Anyone has smart ideas?</div><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div><div dir="ltr"><font color="#444444">Gareth</font><div><font color="#444444"><br></font><div><i><font color="#444444">Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball</font></i></div><div><i><font color="#666666">OpenStack contributor, kun_huang@freenode</font></i></div><div><i><font color="#999999">My promise: if you find any spelling or grammar mistakes in my email from Mar 1 2013, notify me </font></i></div><div><i><font color="#999999">and I'll donate $1 or ¥1 to an open organization you specify.</font></i></div></div></div></div>
</div></font></span></div>
<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>
<br></blockquote></div><br></div>