From 8e9f7e3b704066b9b7b5808e592adedcef2a2c75 Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sun, 25 Aug 2024 20:42:24 +0100 Subject: [PATCH] Bump jupyterlite to 0.4.0 and pin ipywidgets in notebooks until new release are supported - currently required for each new release of `widgetsnbextension` --- content/hyperspy.ipynb | 3 ++- content/rosettasciio.ipynb | 2 +- requirements.txt | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/content/hyperspy.ipynb b/content/hyperspy.ipynb index 15da8df..69f0172 100644 --- a/content/hyperspy.ipynb +++ b/content/hyperspy.ipynb @@ -15,7 +15,8 @@ }, "outputs": [], "source": [ - "%pip install -q ipympl hyperspy[gui-jupyter]" + "%pip install ipywidgets==8.1.3\n", + "%pip install ipympl hyperspy[gui-jupyter]" ] }, { diff --git a/content/rosettasciio.ipynb b/content/rosettasciio.ipynb index 7f6ab4c..6f4791e 100644 --- a/content/rosettasciio.ipynb +++ b/content/rosettasciio.ipynb @@ -6,7 +6,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install -q rosettasciio" + "%pip install rosettasciio" ] }, { diff --git a/requirements.txt b/requirements.txt index bc7bb8d..30896fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,13 @@ # Core modules (mandatory) -jupyterlite-core==0.3.0 -jupyterlab~=4.1.6 -notebook~=7.1.2 +jupyterlite-core==0.4.0 +jupyterlab~=4.2.4 +notebook~=7.2.1 # Python kernel (optional) -jupyterlite-pyodide-kernel==0.3.1 +jupyterlite-pyodide-kernel==0.4.1 # Python: ipywidget library for Jupyter notebooks (optional) -ipywidgets>=8.1.1,<9 +ipywidgets>=8.1.3,<9 # Python: interative Matplotlib library for Jupyter notebooks (optional) ipympl>=0.8.2 \ No newline at end of file