Skip to content

Commit dff6da7

Browse files
authored
Update to jupyterlite-xeus (#138)
* Update to `jupyterlite-xeus` * fix typo
1 parent a744e0d commit dff6da7

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

dev-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ dependencies:
55
- pip
66
- jupyter_server
77
- jupyterlab_server
8-
- jupyterlite-xeus-python >=0.9.7,<0.10.0
8+
- jupyterlite-xeus >=0.1.8,<0.2.0
99
- jupyterlite-core >=0.2,<0.3
1010
- pydata-sphinx-theme
1111
- myst-parser
1212
- docutils
1313
- sphinx
1414
- black
15+
- voici
1516
- pip:
1617
- .
17-
- voici

docs/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jupyterlite_dir = "/path/to/your/lite/dir"
2323

2424
## Pre-installed packages
2525

26-
In order to have Python packages pre-installed in the kernel environment, you can use [jupyterlite-xeus-python](https://xeus-python-kernel.readthedocs.io).
26+
In order to have Python packages pre-installed in the kernel environment, you can use [jupyterlite-xeus](https://jupyterlite-xeus.readthedocs.io), with the `xeus-python` kernel.
2727

28-
You would need `jupyterlite-xeus-python` installed in your docs build environment.
28+
You would need `jupyterlite-xeus` installed in your docs build environment.
2929

30-
You can pre-install packages by adding an `environment.yml` file in the docs directory, this file will be found automatically by xeus-python which will pre-build the environment when running the jupyter lite build.
30+
You can pre-install packages by adding an `environment.yml` file in the docs directory, with `xeus-python` defined as one of the dependencies. It will pre-build the environment when running the `jupyter lite build`.
3131

3232
Furthermore, this automatically installs any labextension that it founds, for example installing ipyleaflet will make ipyleaflet work without the need to manually install the jupyter-leaflet labextension.
3333

docs/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: jupyterlite-sphinx
22
channels:
33
- https://repo.mamba.pm/emscripten-forge
4-
- https://repo.mamba.pm/conda-forge
4+
- conda-forge
55
dependencies:
66
- pandas
77
- matplotlib
88
- bqplot
9+
- xeus-python

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ JupyterLite should automatically show up in your built online documentation. To
3030

3131
````{note}
3232
By default `jupyterlite-sphinx` does not install a Python kernel.
33-
If you would like have a Python kernel available in your docs you can install either `jupyterlite-pyodide-kernel` or `jupyterlite-xeus-python` with `pip`:
33+
If you would like have a Python kernel available in your docs you can install either `jupyterlite-pyodide-kernel` or `jupyterlite-xeus` with `pip`:
3434
3535
```shell
3636
# to install the Python kernel based on Pyodide
3737
pip install jupyterlite-pyodide-kernel
3838
39-
# to install the Python kernel based on Xeus Python
40-
pip install jupyterlite-xeus-python
39+
# to load Xeus-based kernels
40+
pip install jupyterlite-xeus
4141
```
4242
````

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev = [
2929
docs = [
3030
"myst_parser",
3131
"pydata-sphinx-theme",
32-
"jupyterlite-xeus-python>=0.9.0,<0.10.0",
32+
"jupyterlite-xeus>=0.1.8,<0.2.0",
3333
]
3434

3535
[tool.hatch.version]

0 commit comments

Comments
 (0)