Add name to the kernelOptions#60
Conversation
|
Thanks for submitting your first pull request! You are awesome! 🤗 |
choldgraf
left a comment
There was a problem hiding this comment.
Good catch - do you think we can deprecate kernelName or should we keep it?
For tests, i agree, but nobody has had the bandwidth to write them. I guess you could do it with playwright or something like this.
I honestly don't know 🤷 I wasn't brave enough to deprecate it. |
|
@stevejpurves would you be willing to provide guidance on whether we can remove/deprecate |
|
I would keep it -- I believe that a kernel launch can fail if the (default) named kernel is not available on the server/service, and if for some reason a kernel named |
|
@stevejpurves so |
|
ah looking at the comment in the linked issue, it seems that Does that sound correct to you @stevejpurves ? |
|
I am not entirely sure, but I believe this could fix jupyter-book/jupyter-book#1173 also (with a sphinx-thebe release and a bump in the jb dependencies). |
|
Yep i think you are right. Let's cross link that issue in the PR as well so that it closes it. We can make a release quickly! |
|
@choldgraf I can't actually find any reference to the two existing side by side outside of In the meantime, thebe |
|
Ah ok, thanks for this clarification - I'd then suggest:
|
@choldgraf I am afraid I don't understand enough about the interplay of thebe/sphinx/jupyter etc. What do you mean by this? Doesn't sphinx-thebe just parse |
|
@joergbrech ah I'm being silly - I think we should still open an issue about the soon-to-be-deprecated-again API. @stevejpurves would you be willing to explain in a new issue what we'll need to change? |
|
@choldgraf yes I will - how about you go ahead and release this change first, then I can sit down and test the jb|sphinx-thebe|thebe together and make sure I have a clear picture. |
Co-authored-by: Chris Holdgraf <choldgraf@gmail.com>
Co-authored-by: Chris Holdgraf <choldgraf@gmail.com>
Co-authored-by: Chris Holdgraf <choldgraf@gmail.com>
|
@choldgraf just a friendly ping. Are we ready to merge? |
|
Yep - thanks for the ping. If any of you are interested in having merge rights on this repository, I am happy to provide them. I clearly do not have enough time to maintain this in addition to all the other stuff I have to do, and I don't want to block progress on myself! |
Thanks, but as this is just a small side project, I don't see myself contributing often. Also I know too little about the whole jupyter-sphinx-thebe ecosystem to be of much value. Once this is in jupyter book I will be happy for a while 🙂 |

Fixes #59.
See also jupyter-book/thebe#349.
Follow-up question: Can we have some kind of doctests verifying that all code blocks in the documentation don't error?
Edit from @choldgraf : i think this also closes #43 and closes #53
Edit: Closes jupyter-book/jupyter-book#1173