openforis / sepal

Geographical Data Processing in the Cloud
https://sepal.io/
MIT License
207 stars 46 forks source link

all the app venv are displayed as usable kernels in Jupyter #133

Open 12rambau opened 2 years ago

12rambau commented 2 years ago

Describe the bug In jupyterlab (and notebook) all the venv created for specific application are displayed as available.

Expected behavior

It should only be the user installed and the native one.

Screenshots

Capture d’écran 2021-10-05 à 08 49 33
12rambau commented 2 years ago

tested so far:

Following this documentation (https://jupyter-notebook.readthedocs.io/en/stable/config.html) and other posts on SO, I created a notebook config file:

jupyter notebook --generate-config

and added this configuration to the file :

c.KernelSpecManager.whitelist = set('ir', 'javascript', 'python3')

but it didn't change anything to the launcher or the notebooks, I think I'm missing something.

12rambau commented 2 years ago

ok after some thoughs it's actually a nice feature as it allows developer to test their aplication against the currently installed venv. let's just make sure they are displayed as python one