From 05e050905304a01e9cc54ff4c2011f5a2999bb2a Mon Sep 17 00:00:00 2001 From: Fernando Perez Date: Mon, 13 Mar 2023 11:04:20 -0700 Subject: [PATCH 1/2] Add code-server (for VSCode support) --- environment.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 59a6440..a3daf66 100644 --- a/environment.yml +++ b/environment.yml @@ -4,9 +4,15 @@ channels: - conda-forge dependencies: + # Base language runtimes - python==3.10.8 - nodejs=18 + # VS Code support + - jupyter-vscode-proxy==0.2 + - code-server==4.10.1 + + # Other user-facing Python packages - altair==4.2.2 - bash_kernel==0.9.0 - beautifulsoup4==4.11.1 @@ -37,7 +43,6 @@ dependencies: - jupyter-resource-usage==0.7.1 - jupyter_bokeh==3.0.5 - jupyter_server==2.2.1 - - jupyter-vscode-proxy==0.2 - jupyterlab==3.6.1 - jupyterlab-drawio==0.9.0 - jupyterlab-favorites==3.1.1 From 872d61e9e168650821c13b9b6644d1eb36f4e8b7 Mon Sep 17 00:00:00 2001 From: Fernando Perez Date: Mon, 13 Mar 2023 11:20:24 -0700 Subject: [PATCH 2/2] Try node < 17 for vscode server compatiblity --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index a3daf66..5ba1e92 100644 --- a/environment.yml +++ b/environment.yml @@ -6,7 +6,7 @@ channels: dependencies: # Base language runtimes - python==3.10.8 - - nodejs=18 + - nodejs=16 # code-server requires node < 17 # VS Code support - jupyter-vscode-proxy==0.2