-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a conda_kernel_provider #32
Comments
I've looked into Once we have In the spirit of transparency, I'm copying @mcg1969 here since he implemented the |
Thanks for the ping. I would absolutely love to be at the front of the line on this one. I haven't looked at the code in a little bit, nor have I been watching these developments. I am more than happy to accept PRs, or clear direction on how to do it myself. |
@mcg1969 I am more a supporter of @takluyver and @kevin-bates work than a real active/expert developer, but I will be in Austin the first week of December for the JupyterLab in-person dev meeting. @Zsailer will also be there to work on jupyter_server and @kevin-bates could join via conf-call. Would it make sense for you to join a few hours (in place or remote) to review together the needed changes"? |
If the team feels that would be useful part of the agenda, by all means! It would certainly be convenient. But I will leave the decision to y'all. I'm not interested in stepping on tors and this does seem like something readily handled over GitHub |
Yeah, I think this will be fairly straightforward. All that is necessary, besides pointing to async def launch(self, name, cwd=None, launch_params=None):
spec = self.cksm.get_kernel_spec(name)
return await SubprocessKernelLauncher(
kernel_cmd=spec.argv, extra_env=spec.env, cwd=cwd, launch_params=launch_params).launch() That said, I would recommend this effort be differed until Should Anaconda decide they want to implement their own launch, they're free to do so whenever. One thing that might be worth considering is the current |
My thinking is that the UIs should display the kernel type ID, including both the provider ID and the name that kernel knows for the provider, so you'd see something like:
So I would recommend that they strip the extra |
I agree with the recommendation. It shouldn't be too difficult for nb_conda_kernels to offer a different naming convention for the kernel provider mechanism. |
Just renamed the title to reflect that we can go to an implementation based on the kernel management solution as described in https://github.com/takluyver/jupyter_kernel_mgmt |
Though, to be clear, I'm still expecting that the implementation will be maintained separately, not as part of this repository. |
Sure. I guess it will be inside https://github.com/Anaconda-Platform/nb_conda_kernels but as for now we don't have open issue/pr, I was thinking to use this open issue to further comment on any progress. @mcg1969 Feel free to jump online or in-person this coming week at the jupyterlab dev meeting in Austin. |
I plan on helping with this (in the nb-conda-kernels repo), along with progressing jupyter_server with JKM, once 0.5 is available. |
Thanks to everyone! I will do what I can to move this forward as well. I'm out of pocket right now but when I get to my desk I'll create a formal issue. |
Closing in favor of anaconda/nb_conda_kernels#151 |
Opening this to discuss how we can contribute the current
nb_conda_kernel
to be upgraded as a provider for kernel_mgmt.cc/ @Zsailer @kevin-bates
The text was updated successfully, but these errors were encountered: