Closed jtpio closed 4 years ago
It looks like this actually comes from the underlying nb_conda_kernels
?
spec['metadata'] = {
'conda_env_name': env_name,
'conda_env_path': env_path
}
@jtpio Indeed this is a bug in nb_conda_kernels. The metadata was not around at the beginning. And when I wrote the PR adding the conda environment info to the metadata, I did not think about propagating the one from the reference kernel.
Could you open an issue in that repository?
Thanks @fcollonval.
Yes I'll open an issue there :+1:
Thanks!
A fix has been merged in the dependency package https://github.com/Anaconda-Platform/nb_conda_kernels/pull/161
Perfect, thanks a lot @fcollonval!
Description
It looks like the original kernel spec metadata for a kernel is not kept when using the "conda version" of the kernel.
Reproduce
xeus-python
from the conda packages managerGET /api/kernelspecs
to retrieve the kernel specs (for example in the browser by entering: https://path/to/the/mybinder.org/api/kernelspecs)Starting from version
0.8.0
,xeus-python
includes thedebugger
key in the kernel specs metadata.However this key is not present in the metadata for
xpython [conda env:notebook] *
:Expected behavior
The
metadata
forxpython [conda env:notebook] *
should includedebugger: true
alongconda_env_name
andconda_env_path
.Context
Binder link on Firefox 77.