Replacing kernel spec variables for arg and env that are in kernel.json on values from custom_kernel_specs parameter which is configured by a user. custom_kernel_specs is passed from Jupyter Lab through jupyter_server.
Clearing kernel spec variables that are in kernel.json if they are present into this file but custom_kernel_specs parameter is missed
Adding basic validation to check whether custom_kernel_specs does not include anything wrong
Adding support if a kernel.json file includes customization for a kernel but a user has not selected anything then a parameterized kernel will be run by using default values from its kernel.json file
References
This work is in progress as JEP jupyter/enhancement-proposals#87. This PR should be reviewed when the JEP has been accepted
Code changes
kernel.json
on values fromcustom_kernel_specs
parameter which is configured by a user.custom_kernel_specs
is passed from Jupyter Lab through jupyter_server.kernel.json
if they are present into this file butcustom_kernel_specs
parameter is missedHow to run