Kevin Bates

Results 510 comments of Kevin Bates

If I'm understanding things correctly, and assuming we went with an env similar to `KERNEL_SESSION_NAME`, I _think_ this boils down to the various applications setting that value into the `env`...

I agree that plumbing this as a specific (and new) keyword argument is painful. I guess I figured this would simply be incorporated in the existing `env:dict` keyword argument on...

@arogozhnikov - thanks for the ping. Reading back through this, I think we're good with using an `env` named `JPY_SESSION_NAME` (although if not `KERNEL_SESSION_NAME`, the gateway integration will need to...

Hi @lramey. The configuration file that jupyter applications read (and locate using the path hierarchy) is a function of the [application's `name` attribute](https://github.com/jupyter/jupyter_core/blob/master/jupyter_core/application.py#L110-L116). Each application subclasses `JupyterApp` and, typically, uses...

Sorry about the TMI. :smile: Yes, my understanding is that things are working and adding your applicable config to `jupyter_kernelspec_config.{py,json}` is the thing to try.

~The connection file is not always written locally so cannot be assumed to be present if you want to support [kernel provisioners](https://jupyter-client.readthedocs.io/en/latest/provisioning.html) other than the default `LocalProvisioner`.~ As a result,...

Thanks for looking into this and I apologize for my confusing comments. The provisioner returns the connection information to the kernel manager [here](https://github.com/jupyter/jupyter_client/blob/3697a0d5e528be4c61fdfaaec0923acbfe0c1ea8/jupyter_client/manager.py#L309-L310) where it should be written to the...

@pplonski - for completeness, the "Notebook Server" (i.e., notebook or jupyter_server) will set the [`connection_dir` attribute of the `MultiKernelManager`](https://github.com/jupyter-server/jupyter_server/blob/bd1e7d70b64716097c6b064b2fd5dc67e23d2320/jupyter_server/serverapp.py#L1883-L1888) which then [gets composed with the connection filename ](https://github.com/jupyter/jupyter_client/blob/6b1aa1cdd39daea559966da75f265ed7a8998602/jupyter_client/multikernelmanager.py#L170-L171) when starting...

> The kernel manager you created the kernel with lives in process1.py. You would need somehow to pass to process2.py the process ID of the kernel launched in process1.py, and...

Thanks for opening this issue. FWIW, we've had some [discussion of _parameterized kernels_](https://github.com/jupyter/enterprise_gateway/issues/640#issuecomment-483308982) over in Enterprise Gateway. This is more along the lines of configuring the kernel runtime env but...