Skip to content

Commit

Permalink
Fix notebook kernel crashing with ZMQ errors on magic execution
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnchin committed Aug 11, 2023
1 parent 304fbf7 commit 3dbe00c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,8 @@ python3 -m ipykernel install --sys-prefix --name python3 --display-name "Python
echo "installing python dependencies..."
pip uninstall NeptuneGraphNotebook -y # legacy uninstall when we used to install from source in s3
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "ipython==7.16.1"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "jupyter-console<=6.4.0"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "jupyter-client<=6.1.12"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "ipywidgets<=7.7.1"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "notebook==6.4.12"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "nbclient<=0.7.0"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn "awswrangler"
if [[ ${VERSION} == "" ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,8 @@ python3 -m ipykernel install --sys-prefix --name python3 --display-name "Python
echo "installing python dependencies..."
pip uninstall NeptuneGraphNotebook -y # legacy uninstall when we used to install from source in s3
pip install "ipython==7.16.1"
pip install "jupyter-console<=6.4.0"
pip install "jupyter-client<=6.1.12"
pip install "ipywidgets<=7.7.1"
pip install "notebook==6.4.12"
pip install "nbclient<=0.7.0"
pip install awswrangler
if [[ ${VERSION} == "" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SPARQLWrapper==1.8.4
networkx==2.4
Jinja2>=3.0.3,<=3.1.2
jupyter==1.0.0
notebook>=6.1.5,<6.5.0
notebook>=6.1.5,<7.0.0
ipywidgets==7.7.2
jupyterlab_widgets>=1.0.0,<3.0.0
nbclient<=0.7.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_version():
'jupyterlab_widgets>=1.0.0,<3.0.0',
'networkx==2.4',
'Jinja2>=3.0.3,<=3.1.2',
'notebook>=6.1.5,<6.5.0',
'notebook>=6.1.5,<7.0.0',
'nbclient<=0.7.3',
'jupyter-contrib-nbextensions<=0.7.0',
'widgetsnbextension<=3.6.1',
Expand Down

0 comments on commit 3dbe00c

Please sign in to comment.