From 48d303ef137157ea92b1359190e6b1b019b12f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Pat=C3=B3?= Date: Sun, 2 May 2021 00:52:10 -0700 Subject: [PATCH] fix notebook errors from ipython upgrade --- dev_tools/notebooks/isolated_notebook_test.py | 2 ++ dev_tools/notebooks/requirements-notebook-tests.txt | 3 +++ 2 files changed, 5 insertions(+) diff --git a/dev_tools/notebooks/isolated_notebook_test.py b/dev_tools/notebooks/isolated_notebook_test.py index 9db446c71e2..dd64ac4aa15 100644 --- a/dev_tools/notebooks/isolated_notebook_test.py +++ b/dev_tools/notebooks/isolated_notebook_test.py @@ -77,6 +77,8 @@ "seaborn~=0.11.1", # https://github.com/nteract/papermill/issues/519 'ipykernel==5.3.4', + # https://github.com/ipython/ipython/issues/12941 + 'ipython==7.22', # to ensure networkx works nicely # https://github.com/networkx/networkx/issues/4718 pinned networkx 2.5.1 to 4.4.2 # however, jupyter brings in 5.0.6 diff --git a/dev_tools/notebooks/requirements-notebook-tests.txt b/dev_tools/notebooks/requirements-notebook-tests.txt index 60950953beb..3a94ea57dd7 100644 --- a/dev_tools/notebooks/requirements-notebook-tests.txt +++ b/dev_tools/notebooks/requirements-notebook-tests.txt @@ -8,5 +8,8 @@ notebook~=6.2.0 # https://github.com/nteract/papermill/issues/519 ipykernel==5.3.4 +# https://github.com/ipython/ipython/issues/12941 +ipython==7.22 + # assumed to be part of colab seaborn~=0.11.1