Skip to content

Commit 76abbd0

Browse files
authored
Merge pull request #3624 from jtpio/update-jupyterlite
Update to `jupyterlite==0.1.0b14`
2 parents c5103e4 + ec2b8d8 commit 76abbd0

22 files changed

+24
-104
lines changed

docs/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ dependencies:
2525
- sphinx_rtd_theme
2626
- sympy
2727
- pip:
28-
- jupyterlite==0.1.0b11
28+
- jupyterlite==0.1.0b14
2929
- jupyterlite-sphinx~=0.7.2

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ packaging
1414
scikit-image
1515
scikit-learn
1616
sympy
17-
jupyterlite==0.1.0b11
17+
jupyterlite==0.1.0b14
1818
jupyterlite-sphinx~=0.7.2

docs/source/examples/Beat Frequencies.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install(['ipywidgets', 'matplotlib', 'numpy'])\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets matplotlib numpy"
2925
]
3026
},
3127
{

docs/source/examples/Controller.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install('ipywidgets')\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets"
2925
]
3026
},
3127
{

docs/source/examples/Exploring Graphs.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install(['ipywidgets', 'matplotlib', 'networkx'])\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets matplotlib networkx"
2925
]
3026
},
3127
{

docs/source/examples/Factoring.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install(['ipywidgets', 'sympy'])\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets sympy"
2925
]
3026
},
3127
{

docs/source/examples/Image Browser.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install(['ipywidgets', 'matplotlib', 'scikit-learn'])\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets matplotlib scikit-learn"
2925
]
3026
},
3127
{

docs/source/examples/Image Processing.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"# Imports for JupyterLite\n",
24-
"try:\n",
25-
" import piplite\n",
26-
" await piplite.install(['ipywidgets', 'scikit-learn', 'numpy', 'matplotlib'])\n",
27-
"except ImportError:\n",
28-
" pass"
24+
"%pip install -q ipywidgets scikit-learn numpy matplotlib"
2925
]
3026
},
3127
{

docs/source/examples/Layout Example.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@
2828
"outputs": [],
2929
"source": [
3030
"# Imports for JupyterLite\n",
31-
"try:\n",
32-
" import piplite\n",
33-
" await piplite.install(['ipywidgets', 'ipyleaflet', 'numpy', 'bqplot', 'pandas'])\n",
34-
"except ImportError:\n",
35-
" pass"
31+
"%pip install -q ipywidgets ipyleaflet numpy bqplot pandas"
3632
]
3733
},
3834
{

docs/source/examples/Layout Templates.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
"outputs": [],
1717
"source": [
1818
"# Imports for JupyterLite\n",
19-
"try:\n",
20-
" import piplite\n",
21-
" await piplite.install(['ipywidgets', 'bqplot', 'numpy'])\n",
22-
"except ImportError:\n",
23-
" pass"
19+
"%pip install -q ipywidgets bqplot numpy"
2420
]
2521
},
2622
{

0 commit comments

Comments
 (0)