<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 May 16, 2015, at 3:04 PM, David Mertz <<a href="mailto:dmertz@continuum.io" class="">dmertz@continuum.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I've just started monitoring this SIG to get a sense of the issues and status of things.  I've also just started working for Continuum Analytics.</div><div class=""><br class=""></div><div class="">Continuum has a great desire to make 'pip' work with conda packages.  Obviously, we love for users to choose the Anaconda Python distribution but many will not for a variety of reasons (many good reasons).</div><div class=""><br class=""></div><div class="">However, we would like for users of other distros still to be able to benefit from our creation of binary packages for many platforms in the conda format.  As has been discussed in recent threads on dependency solving, the way conda provides metadata apart from entire packages makes much of that work easier.  But even aside from that, there are simply a large number of well-tested packages (not only for Python, it is true, so that's possibly a wrinkle in the task) we have generated in conda format.</div><div class=""><br class=""></div><div class="">It is true that right now, a user can in principle type:</div><div class=""><br class=""></div><div class="">  % pip install conda</div><div class="">  % conda install some_conda_package</div><div class=""><br class=""></div><div class="">But that creates two separate systems for tracking what's installed and what dependencies are resolved; and many users will not want to convert completely to conda after that step.</div><div class=""><br class=""></div><div class="">What would be better as a user experience would be to let users do this:</div><div class=""><br class=""></div><div class="">  % pip install --upgrade pip</div><div class="">  % pip install some_conda_package</div><div class=""><br class=""></div><div class="">Whether that second command ultimately downloads code from <a href="http://pyip.python.org/" class="">pyip.python.org</a> or from <a href="http://repo.continuum.io/" class="">repo.continuum.io</a> is probably less important for a user experience perspective.  Continuum is very happy to upload all of our conda packages to PyPI if this would improve this user experience.  Obviously, the idea here would be that the user would be able to type 'pip list' and friends afterward, and have knowledge of what was installed, even as conda packages.</div><div class=""><br class=""></div><div class="">I'm hoping members of the SIG can help me understand both the technical and social obstacles that need to be overcome before this can happen.</div></div></div></blockquote></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">As Paul mentioned, I’m not sure I see a major benefit to being able to ``pip install`` a conda package that doesn’t come with a lot of footguns, since any conda package either won’t be able to depend on things like Python or random C libraries or we’re going to have to just ignore those dependencies or what have you. I think a far more workable solution is one that translates a conda package to a Wheel.</div><div class=""><br class=""></div><div class="">Practically speaking the only real benefit that conda packages has over pip is the one benefit that simply teaching pip to install conda packages won’t provide - Namely that it supports things which aren’t Python packages. However I don’t think it’s likely that we’re going to be able to install R or erlang or whatever into a virtual environment (for instance), but maybe I’m wrong. There are a few other benefits, but that’s not anything that are inherent in the two different approaches, it’s just things that conda has that pip is planning on getting, it just hasn’t gotten them yet because either we have to convince people to publish our new formats (e.g. we can’t go out and create a wheel repo of common packages) or because we haven’t gotten to it yet because dealing with the crushing legacy of PyPI’s ~400k packages is significant slow down factor.</div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">---</div><div class="">Donald Stufft</div><div class="">PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA</div></div></div>
</div>
<br class=""></body></html>