<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 11:55 AM, Freddy Rietdijk <span dir="ltr"><<a href="mailto:freddyrietdijk@fridh.nl" target="_blank">freddyrietdijk@fridh.nl</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"><span class=""><span style="font-size:12.8px">> Sort of repeating my earlier question, but how often does this happen</span><br style="font-size:12.8px"><span style="font-size:12.8px">in reality?</span><br><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">From a quick check in our repo we have patched about 1% of our packages to remove the constraints. We have close to 2000 Python packages. We don't necessarily patch all the constraints, only when they collide with the version we would like the package to use so the actual percentage is likely higher.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Larger applications that have many dependencies that are fixed have been kept out of Nixpkgs for now. Their fixed dependencies means we likely need multiple versions of packages. While Nix can handle that, it means more maintenance. We have a tool that can take e.g. a requirements.txt file and generate expressions, but it won't help you much with bug-fix releases when maintainers don't update their pinned requirements.</span></div></div></blockquote><div><br></div><div>I suppose this isn't a problem for Java applications, which use jar files and per-application class paths.</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>