<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">On Wed, Dec 2, 2015 at 8:11 AM, Frédéric Mantegazza <<a href="mailto:mantegazza@ill.fr" target="_blank">mantegazza@ill.fr</a>> wrote:</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">Hi!<br>
<br>
I was wondering why some of the IPython documentations didn' match what I<br>
had on my disk: it is because I'm running IPython 2.3, and not IPython<br>
3.2; I read too fast the result of apt-cache show :o/<br>
<br>
The question is: why, even in my debian sid (unstable), I only have IPython<br>
2.x? Is there a reason for the maintainer not to use the latest stable<br>
release? It seams that IPython 3.x branch is out for some months, now...<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">The people who build packages for the various Linux distros are generally not the same as the people who develop the software. This can lead to discrepancies and lag-time before a new release gets packages. IPython 3 shipped in February, and IPython 4 in August. Hopefully things will catch up soon.</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">
<br>
One solution is to install IPython 3.x from pip. But is it a good idea?<br>
What about IPython dependencies? I may have to install numpy,<br>
matplotlib, notebook etc from pip too, and this may lead me too far for an<br>
application which has to be very stable (don't want to redo all the work<br>
debian maitainers do!).<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">This is a difficult tradeoff. Because apt-packaging of Python packages tends to be very slow/conservative, I rarely, if ever, use apt to install anything for Python, and I wouldn’t really recommend using apt to install Python-only packages to most users. Dependencies are obviously the tricky part, and if you mix apt/pip installation, you can get yourself in a bit of a tangle. Typically, I only use apt for things that may be ‘hard’ to install (i.e. compiled with non-Python dependencies), such as numpy, scipy, matplotlib. But I’m also not a representative user in terms of understanding dependencies and installation issues.</p>
<p style="margin:1.2em 0px!important">But there’s obviously a benefit to being conservative - apt-packaged versions are more likely to be tested/compatible. But to stick with that, you have to be okay not having the latest and greatest versions of packages. And sometimes the lag is not due to conservatism or caution, it’s due to the volunteer package-maintainer community being busy with other things.</p>
<p style="margin:1.2em 0px!important">One <strong>big</strong> caveat: If you do use pip, make sure it’s up-to-date. The debian-bundled pip is also woefully outdated, so you shouldn’t even install pip with apt, you should probably use <a href="https://packaging.python.org/en/latest/installing/#install-pip-setuptools-and-wheel">get-pip</a> to bootstrap it.</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">
<br>
Another solution is to use Anaconda. But I don't know how stable this<br>
'distro', and how it will evolve in the future. For example, they package<br>
IPython 4, which does not seem to be stable yet... Don't know if it is<br>
easy to install third-party python packages in this environment.<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">Anaconda is pretty quick to ship updates upon release of packages (often within hours of release). One <em>major</em> advantage of using conda over apt is you can have it both ways. You can have one conda env running ‘stable’, pinning major versions of relevant packages until you have verified that a release works for your own applications, and another ‘unstable’ which stays up-to-date with the latest conda packages. The same technically goes for virtualenv, but conda’s use of bdists and hardlinks makes multiple envs more pleasant in my experience.</p>
<p style="margin:1.2em 0px!important">-MinRK</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">
<br>
Any advice welcome.<br>
<span class=""><font color="#888888"><br>
--<br>
Frédéric MANTEGAZZA CEA-Grenoble<br>
Tel. : 33 (0) 476 207 617 INAC/SPSMS/MDN<br>
Fax : 33 (0) 476 483 906 17, rue des Martyrs<br>
Courriel : <a href="mailto:mantegazza@ill.fr">mantegazza@ill.fr</a> F-38054 Grenoble Cedex 09<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</font></span></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<div title="MDH:PGJyPjxkaXYgY2xhc3M9ImdtYWlsX2V4dHJhIj48YnI+PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUi
Pk9uIFdlZCwgRGVjIDIsIDIwMTUgYXQgODoxMSBBTSwgRnLDqWTDqXJpYyBNYW50ZWdhenphIDxz
cGFuIGRpcj0ibHRyIj4mbHQ7PGEgaHJlZj0ibWFpbHRvOm1hbnRlZ2F6emFAaWxsLmZyIiB0YXJn
ZXQ9Il9ibGFuayI+bWFudGVnYXp6YUBpbGwuZnI8L2E+Jmd0Ozwvc3Bhbj4gd3JvdGU6PGJyPjxi
bG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdpbjogMHB4IDBweCAwcHgg
MC44ZXg7IGJvcmRlci1sZWZ0LXdpZHRoOiAxcHg7IGJvcmRlci1sZWZ0LWNvbG9yOiByZ2IoMjA0
LCAyMDQsIDIwNCk7IGJvcmRlci1sZWZ0LXN0eWxlOiBzb2xpZDsgcGFkZGluZy1sZWZ0OiAxZXg7
Ij5IaSE8YnI+Cjxicj4KSSB3YXMgd29uZGVyaW5nIHdoeSBzb21lIG9mIHRoZSBJUHl0aG9uIGRv
Y3VtZW50YXRpb25zIGRpZG4nIG1hdGNoIHdoYXQgSTxicj4KaGFkIG9uIG15IGRpc2s6IGl0IGlz
IGJlY2F1c2UgSSdtIHJ1bm5pbmcgSVB5dGhvbiAyLjMsIGFuZCBub3QgSVB5dGhvbjxicj4KMy4y
OyBJIHJlYW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;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div>