<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 11:03 AM, Thomas Güttler <span dir="ltr"><<a href="mailto:guettliml@thomas-guettler.de" target="_blank">guettliml@thomas-guettler.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Am 13.01.2017 um 16:25 schrieb Jim Fulton:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Fri, Jan 13, 2017 at 7:23 AM, Thomas Güttler <<a href="mailto:guettliml@thomas-guettler.de" target="_blank">guettliml@thomas-guettler.de</a> <mailto:<a href="mailto:guettliml@thomas-guettler.de" target="_blank">guettliml@thomas-guett<wbr>ler.de</a>>> wrote:<br>
<br>
    What is an application for you?<br>
<br>
<br>
Another way to think about this, FWIW, is to distinguish between the "whole system" (for which "Application" is often a<br>
useful shorthand), as opposed to components (aka libraries).<br>
<br>
It's important for components to be flexible, so they're typically very flexible about versions of their dependencies.<br>
<br>
For whole systems, OTOH, it's important that once a configuration is tested, that the same configuration is used in<br>
production, so systems typically pin all of their dependencies, ideally extending to their environments (which is a<br>
reason why container technology is attractive).<br>
</blockquote>
<br></span>
Yes, install_requires in setup.py should define flexible dependencies, but requirements.txt should define fixed dependencies via fixed version.<br>
<br>
Do you agree with my sentence from above?</blockquote><div><br></div><div>Are you speaking of a component/library or whole system?</div><div><br></div><div>Jim</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Jim Fulton<br><a href="http://jimfulton.info" target="_blank">http://jimfulton.info</a><br></div>
</div></div>