mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-08 16:41:39 -05:00
![]() The merged class is `jupyter-kernel-process`. The `jupyter-command-kernel` class existed to launch kernels using the `jupyter kernel` shell command. This was done to support launching kernels on remote systems via TRAMP. The work of generating a connection info. file was offloaded to that command since it can find out a set of open ports more reliably on a remote system than Emacs can. The only difference between the two classes was that the connection info. was generated manually for a `jupyter-spec-kernel`, so now the `jupyter kernel` command is relied on in that case too (via `jupyter-session-with-random-ports` from 8ad90b887a4afa161d907056ae44db5b119dbc5d). * jupyter-kernel-process-manager.el (jupyter-env, jupyter-kernelspec): Require. (jupyter--after-kernel-process-ready): Remove. (jupyter--start-kernel-process): New function. (jupyter-start-kernel) [jupyter-kernel-process]: Use it, set the SESSION slot of a kernel before doing so. (jupyter-command-kernel, jupyter-spec-kernel): Remove. Also remove all related methods. (jupyter-start-new-kernel): Use `jupyer--kernel-process` to replace calls to the removed classes. * test/jupyter-test.el (jupyter-kernel-lifetime) (jupyter-command-kernel): Replace references to removed classes with `jupyter--kernel-process` |
||
---|---|---|
.. | ||
jupyter-server-test.el | ||
jupyter-test.el | ||
jupyter-tramp-test.el | ||
test-helper.el |