Skip to content

Commit 18bfbd2

Browse files
committed
fix(infra): Downgrade ipycanvas widget
Canvas widget creation failing on SageMaker Studio environments with error seemingly similar to the below GitHub issue. Downgraded ipycanvas (which will also need to be reflected in notebooks). https://github.com/martinRenou/ipycanvas/issues/295
1 parent 3d38adb commit 18bfbd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.infrastructure/template.sam.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Resources:
176176
pip install \
177177
jupyter-server==$JUPYTERSERVER_VER \
178178
ipywidgets==$IPYWIDGETS_VER \
179-
ipycanvas
179+
'ipycanvas<0.13'
180180
source /home/ec2-user/anaconda3/bin/deactivate
181181
EOF
182182

@@ -379,7 +379,7 @@ Resources:
379379
boto3==$BOTO3_VER \
380380
botocore==$BOTOCORE_VER \
381381
jupyter-server==$JUPYTERSERVER_VER \
382-
ipycanvas
382+
'ipycanvas<0.13'
383383
jlpm add --dev bash-language-server dockerfile-language-server-nodejs
384384

385385
CMP_CONFIG_DIR=.jupyter/lab/user-settings/@krassowski/jupyterlab-lsp/

.simple.cf.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Resources:
3939
pip install \
4040
jupyter-server==$JUPYTERSERVER_VER \
4141
ipywidgets==$IPYWIDGETS_VER \
42-
ipycanvas
42+
'ipycanvas<0.13'
4343
source /home/ec2-user/anaconda3/bin/deactivate
4444
EOF
4545

0 commit comments

Comments
 (0)