<div dir="ltr">Kiko,<div><br></div><div>Just to clarify, I need a command that *does* work on IPython 3. I can already do this for IPython 2, and am looking for the equivalent once 3 is released. In both the links you provided, it says that in IPython 3 you have to select it from a dropdown, which does not work for me.</div><div><br></div><div>-- Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 12:03 AM, Kiko <span dir="ltr"><<a href="mailto:kikocorreoso@gmail.com" target="_blank">kikocorreoso@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2014-11-25 3:48 GMT+01:00 Andrew Gibiansky <span dir="ltr"><<a href="mailto:andrew.gibiansky@gmail.com" target="_blank">andrew.gibiansky@gmail.com</a>></span>:<br><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"><div dir="ltr">Thanks all. You've answered most of my questions, but I'm still a little unsure – when I run IPython (v3), it starts up a IPython+Python kernel console (as expected). In previous IPythons, you'd ask for a different kernel via "--profile". Now, since the kernels directory and registry exists, the profiles will be less important; however, is there still a way to request a particular kernel at startup? (without using --profile?)</div></blockquote><div><br></div></span><div>See the "Running the notebook" section here: <a href="https://github.com/takluyver/IRkernel#running-the-notebook" target="_blank">https://github.com/takluyver/IRkernel#running-the-notebook</a></div><div>Or at the end of this notebook: <a href="http://nbviewer.ipython.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter01_basic/06_kernel.ipynb" target="_blank">http://nbviewer.ipython.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter01_basic/06_kernel.ipynb</a></div><span class=""><div> </div><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"><div dir="ltr"><div><br></div><div>In addition, I'd like to request/ask about an addition to the kernel directory. Could kernels ship their own nbconvert templates in addition to the custom.css/custom.js? If they could, I think that would eliminate completely my need to use IPython profiles for IHaskell, which would be a boon.</div><div><br></div><div>Thanks,</div><div>Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 10:28 AM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br><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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On 23 November 2014 at 23:01, Andrew Gibiansky <span dir="ltr"><<a href="mailto:andrew.gibiansky@gmail.com" target="_blank">andrew.gibiansky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>1. When is IPython 3 slated to be out (and on PyPI)? I saw the roadmap on the wiki, which indicated Fall 2014 – are there any more detailed plans?</div></blockquote><div><br></div></span><div>It will probably be early in the new year now.<br></div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>2. Is there a list of things kernel authors need to do to update kernels? I've attempted to use the same kernel with IPython 3 and found that nothing works (my guess is there are several things in need of updating).</div></blockquote><div><br></div></span><div>There is a new version (5) of the message spec, but as Matthias mentioned, IPython should detect a kernel using the version 4 message spec and translate messages so it keeps working. Other than that, you should write a kernel spec, as described here: <a href="http://ipython.org/ipython-doc/dev/development/kernels.html#kernel-specs" target="_blank">http://ipython.org/ipython-doc/dev/development/kernels.html#kernel-specs</a><br><br></div><div>If you have custom JS overrides, they will almost certainly need to be updated, but there's no documentation of how to do that; the frontend interfaces are all changing much too fast to be worth documenting at present. If you have specific questions, feel free to ask us. We will also make a way to provide custom JS with a kernelspec for the kernel selection mechanism, but this isn't in place yet.<br></div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>3. It seems that the new architecture assumes that kernels will install themselves into the ipython kernels directory, after which the user will invoke "ipython notebook" and choose the kernel. While I like this and would like to support this usage, historically I have shipped an "IHaskell" command which just ran IHaskell directly via "ipython --profile haskell" (along with doing a whole suite of other things). I would like to continue to provide this sort of mechanism to start IHaskell specifically, but it looks like "--profile" is deprecated (although it still appears in "--help"). What should I do? (Also, is "--profile-dir" also deprecated? It also appears in help and doesn't say it's deprecated.)</div><div></div></blockquote></span></div><br></div><div class="gmail_extra">I don't remember that we've deprecated --profile, though we haven't decided yet what will happen with profiles when we separate IPython and Jupyter.<br><br></div><div class="gmail_extra">Best wishes,<br>Thomas<br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></span></div><br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>