Skip to content

Commit dd250bf

Browse files
committed
Handle Notebook 7 in dev install script
1 parent 22462a9 commit dd250bf

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/devinstall.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Install dependencies
3030
run: |
31-
python -m pip install notebook jupyterlab jupyter_packaging~=0.10
31+
python -m pip install notebook jupyterlab notebook~=6.0 jupyter_packaging~=0.10
3232
- name: Run the dev-install script
3333
run: |
3434
./dev-install.sh

dev-install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jlpm build
3131
echo -n "widgetsnbextension"
3232
pip install -v -e ./python/widgetsnbextension
3333
if [[ "$OSTYPE" == "msys" ]]; then
34-
jupyter nbextension install --overwrite --py $nbExtFlags widgetsnbextension
34+
jupyter nbextension install --overwrite --py $nbExtFlags widgetsnbextension || true
3535
else
36-
jupyter nbextension install --overwrite --py --symlink $nbExtFlags widgetsnbextension
36+
jupyter nbextension install --overwrite --py --symlink $nbExtFlags widgetsnbextension || true
3737
fi
38-
jupyter nbextension enable --py $nbExtFlags widgetsnbextension
38+
jupyter nbextension enable --py $nbExtFlags widgetsnbextension || true
3939

4040
echo -n "ipywidgets"
4141
pip install -v -e "./python/ipywidgets[test]"

docs/source/examples/Widget Custom.ipynb

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
{
44
"cell_type": "markdown",
55
"metadata": {
6-
"tags": ["remove-cell"]
6+
"tags": [
7+
"remove-cell"
8+
]
79
},
810
"source": [
911
"[Index](Index.ipynb) - [Back](Widget%20Styling.ipynb) - [Next](Widget%20Asynchronous.ipynb)"
@@ -828,7 +830,9 @@
828830
{
829831
"cell_type": "markdown",
830832
"metadata": {
831-
"tags": ["remove-cell"]
833+
"tags": [
834+
"remove-cell"
835+
]
832836
},
833837
"source": [
834838
"[Index](Index.ipynb) - [Back](Widget%20Styling.ipynb) - [Next](Widget%20Asynchronous.ipynb)"

0 commit comments

Comments
 (0)