Specification of the kernelspec

Specification of the kernelspec#

Problem#

The kernelspec configuration file is documented aside the kernel protocol documentation, and an implementation is available, but it is not specified. Besides, it might be unclear whether the kernelspec is part of the kernel protocol, or independent.

Proposed Enhancement#

We propose to specify the kernelspec with the JSON schema joined in this PR. The specification would reflect the current description of the kernelspec, and adds an optional kernel_protocol_version field.

The documentation of the kernelspec will be stored aside that of the kernel protocol. The schema will be stored in the dedicated repo for all Jupyter schemas.

Impact on existing implementations#

None, this JEP only adds an optional field in the kernelspec.