Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Update jupyterlite #3918

Merged
merged 4 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- bqplot
- ipykernel
- ipyleaflet
- jupyterlite >=0.1.1,<0.2.0
- jupyterlite >=0.3.0,<0.4.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be jupyterlite-core, since the jupyterlite metapackage does not include any kernel anymore: https://jupyterlite.readthedocs.io/en/latest/migration.html#id3

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we would need to add a kernel, for example jupyterlite-pyodide-kernel or jupyterlite-xeus.

- matplotlib-base
- numpy
- scikit-image
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ipyleaflet
jupyter-client
jupyter-packaging
jupyterlab >=4
jupyterlite >=0.1.1<0.2.0
jupyterlite >=0.3.0<0.4.0
matplotlib
myst-nb >=0.17,<0.18
numpy
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
type="radio"
name="demo-app"
autocomplete="off"
value="{{ pathto('try/retro/index') }}?path=Widget%20List.ipynb"
value="{{ pathto('try/tree/index') }}?path=Widget%20List.ipynb"
>
<i class="fas fa-book"></i> Notebook
</label>
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def setup(app):
rediraffe_redirects = {
"typedoc/index": "_static/typedoc/index",
"try/lab/index": "_static/lab/index",
"try/retro/index": "_static/retro/tree/index",
"try/notebook/index": "_static/tree/index",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be tree instead, so it matches the value set above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed!

}

# -- html --------------------------
Expand Down
3 changes: 3 additions & 0 deletions docs/source/dev_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@ Lerna will prompt you for version numbers for each of the changed npm packages i
## Configure twine username

If you have 2FA on, make sure you have your `~/.pypirc` file set to:

```
[pypi]
username = __token__
```

Or set the environment variable

```
export TWINE_USERNAME=__token__
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

There is a subdirectory called examples in the GitHub repo for `ipywidgets`. In the samples subdirectory are two directories, notebooks and development.

<iframe width="100%" height="100vw" src="_static/retro/notebooks/?path=examples/Widget%20List.ipynb">
<iframe width="100%" height="100vw" src="_static/notebooks/?path=examples/Widget%20List.ipynb">
</iframe>
70 changes: 35 additions & 35 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -692,11 +692,11 @@ __metadata:
languageName: node
linkType: hard

"@jupyter-widgets/base-manager@^1.0.7, @jupyter-widgets/base-manager@workspace:packages/base-manager":
"@jupyter-widgets/base-manager@^1.0.8, @jupyter-widgets/base-manager@workspace:packages/base-manager":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/base-manager@workspace:packages/base-manager"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base": ^6.0.7
"@jupyterlab/services": ^6.0.0 || ^7.0.0
"@lumino/coreutils": ^1.11.1 || ^2
"@types/base64-js": ^1.2.5
Expand Down Expand Up @@ -731,7 +731,7 @@ __metadata:
languageName: unknown
linkType: soft

"@jupyter-widgets/base@^6.0.6, @jupyter-widgets/base@workspace:packages/base":
"@jupyter-widgets/base@^6.0.7, @jupyter-widgets/base@workspace:packages/base":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/base@workspace:packages/base"
dependencies:
Expand Down Expand Up @@ -774,11 +774,11 @@ __metadata:
languageName: unknown
linkType: soft

"@jupyter-widgets/controls@^5.0.7, @jupyter-widgets/controls@workspace:packages/controls":
"@jupyter-widgets/controls@^5.0.8, @jupyter-widgets/controls@workspace:packages/controls":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/controls@workspace:packages/controls"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base": ^6.0.7
"@jupyterlab/services": ^6.0.0 || ^7.0.0
"@lumino/algorithm": ^1.9.1 || ^2.1
"@lumino/domutils": ^1.8.1 || ^2.1
Expand Down Expand Up @@ -829,9 +829,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/example-web1@workspace:examples/web1"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base-manager": ^1.0.7
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/base-manager": ^1.0.8
"@jupyter-widgets/controls": ^5.0.8
chai: ^4.0.0
css-loader: ^6.5.1
karma: ^6.3.3
Expand All @@ -850,9 +850,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/example-web2@workspace:examples/web2"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base-manager": ^1.0.7
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/base-manager": ^1.0.8
"@jupyter-widgets/controls": ^5.0.8
codemirror: ^5.48.0
css-loader: ^6.5.1
font-awesome: ^4.7.0
Expand All @@ -865,9 +865,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/example-web3@workspace:examples/web3"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/html-manager": ^1.0.9
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/controls": ^5.0.8
"@jupyter-widgets/html-manager": ^1.0.10
"@jupyterlab/services": ^6.0.0 || ^7.0.0
"@types/codemirror": ^5.60.0
"@types/node": ^17.0.2
Expand All @@ -887,24 +887,24 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/example-web4@workspace:examples/web4"
dependencies:
"@jupyter-widgets/html-manager": ^1.0.9
"@jupyter-widgets/html-manager": ^1.0.10
css-loader: ^6.5.1
font-awesome: ^4.7.0
style-loader: ^3.3.1
webpack: ^5.65.0
languageName: unknown
linkType: soft

"@jupyter-widgets/html-manager@^1.0.9, @jupyter-widgets/html-manager@workspace:packages/html-manager":
"@jupyter-widgets/html-manager@^1.0.10, @jupyter-widgets/html-manager@workspace:packages/html-manager":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/html-manager@workspace:packages/html-manager"
dependencies:
"@fortawesome/fontawesome-free": ^5.12.0
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base-manager": ^1.0.7
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/output": ^6.0.6
"@jupyter-widgets/schema": ^0.5.3
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/base-manager": ^1.0.8
"@jupyter-widgets/controls": ^5.0.8
"@jupyter-widgets/output": ^6.0.7
"@jupyter-widgets/schema": ^0.5.4
"@jupyterlab/outputarea": ^3.0.0 || ^4.0.0
"@jupyterlab/rendermime": ^3.0.0 || ^4.0.0
"@jupyterlab/rendermime-interfaces": ^3.0.0 || ^4.0.0
Expand Down Expand Up @@ -941,10 +941,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/jupyterlab-manager@workspace:python/jupyterlab_widgets"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base-manager": ^1.0.7
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/output": ^6.0.6
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/base-manager": ^1.0.8
"@jupyter-widgets/controls": ^5.0.8
"@jupyter-widgets/output": ^6.0.7
"@jupyterlab/application": ^3.0.0 || ^4.0.0
"@jupyterlab/builder": ^3.0.0 || ^4.0.0
"@jupyterlab/cells": ^3.0.0 || ^4.0.0
Expand Down Expand Up @@ -987,11 +987,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jupyter-widgets/notebook-manager@workspace:python/widgetsnbextension"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base-manager": ^1.0.7
"@jupyter-widgets/controls": ^5.0.7
"@jupyter-widgets/html-manager": ^1.0.9
"@jupyter-widgets/output": ^6.0.6
"@jupyter-widgets/base": ^6.0.7
"@jupyter-widgets/base-manager": ^1.0.8
"@jupyter-widgets/controls": ^5.0.8
"@jupyter-widgets/html-manager": ^1.0.10
"@jupyter-widgets/output": ^6.0.7
"@jupyterlab/services": ^6.0.0 || ^7.0.0
"@lumino/messaging": ^1.10.1 || ^2.1
"@lumino/widgets": ^1.30.0 || ^2.1
Expand All @@ -1005,17 +1005,17 @@ __metadata:
languageName: unknown
linkType: soft

"@jupyter-widgets/output@^6.0.6, @jupyter-widgets/output@workspace:packages/output":
"@jupyter-widgets/output@^6.0.7, @jupyter-widgets/output@workspace:packages/output":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/output@workspace:packages/output"
dependencies:
"@jupyter-widgets/base": ^6.0.6
"@jupyter-widgets/base": ^6.0.7
rimraf: ^3.0.2
typescript: ~4.9.4
languageName: unknown
linkType: soft

"@jupyter-widgets/schema@^0.5.3, @jupyter-widgets/schema@workspace:packages/schema":
"@jupyter-widgets/schema@^0.5.4, @jupyter-widgets/schema@workspace:packages/schema":
version: 0.0.0-use.local
resolution: "@jupyter-widgets/schema@workspace:packages/schema"
languageName: unknown
Expand Down Expand Up @@ -14908,11 +14908,11 @@ __metadata:

"typescript@patch:typescript@npm%3A~4.9.4#~builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=289587"
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=23ec76"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 1f8f3b6aaea19f0f67cba79057674ba580438a7db55057eb89cc06950483c5d632115c14077f6663ea76fd09fce3c190e6414bb98582ec80aa5a4eaf345d5b68
checksum: ab417a2f398380c90a6cf5a5f74badd17866adf57f1165617d6a551f059c3ba0a3e4da0d147b3ac5681db9ac76a303c5876394b13b3de75fdd5b1eaa06181c9d
languageName: node
linkType: hard

Expand Down
Loading