jupyterlab / jupyterlab-desktop

JupyterLab desktop application, based on Electron.
BSD 3-Clause "New" or "Revised" License
3.76k stars 365 forks source link

Snap deployment issues #792

Closed mbektas closed 8 months ago

mbektas commented 8 months ago

Creating this issue to keep track of Linux Snap issues. Snap deployment is available here but additional work is needed to be able to announce as GA.

  1. jlab CLI is not available with snap. It might be possible to support using electron-builder snap hooks.
  2. When the app is updated, installer seems to copy the bundled environment installation but not the additional envs installed. This process needs to be better understood.

    a. Making a copy of the bundled env installation is not enough. conda environment is not relocatable by copy paste. b. It is not clear if the additional envs installed with previous version will be kept indefinitely.

below is the list of environments after updating from build 5 to 8. jlab_server at the bottom of the list got auto created after upgrade. even though it appears to work, it is not reliable as conda env is not relocatable.

envs list after update

cc. @dmitry-lyfar

mbektas commented 8 months ago

adding CLI support with this PR https://github.com/jupyterlab/jupyterlab-desktop/pull/800

mbektas commented 8 months ago

fixing Python environment install locations with this PR https://github.com/jupyterlab/jupyterlab-desktop/pull/801

mbektas commented 8 months ago

both issues are fixed now and Snap is publicly available.