We current recognize language used by a kernel using kernel name. However, kernel names can be intentionally changed by commands such aspython -m ipykernel install --name (or modify spec file) and in which case SoS will fail to recognize the language used by the kernel. It therefore makes sense to by default use the language field in the kernel spec to infer language name.
Split from #258
We current recognize language used by a kernel using kernel name. However, kernel names can be intentionally changed by commands such as
python -m ipykernel install --name
(or modify spec file) and in which case SoS will fail to recognize the language used by the kernel. It therefore makes sense to by default use thelanguage
field in the kernel spec to infer language name.