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

Update to JupyterLite 0.3.0a0 #93

Merged
merged 4 commits into from
Feb 16, 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
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

#### With Jupyter

| status | `jupyterlite-pyodide-kernel` | `jupyterlite-core` | `jupyterlab` | `notebook` | `retrolab` |
| :----: | :--------------------------: | :----------------: | :----------: | :----------: | :----------: |
| stable | `0.2.*` | `>=0.2,<0.3` | `>=4.0.7,<5` | `>=7.0.5,<8` | - |
| stable | `0.1.*` | `>=0.1,<0.2` | `>=3.5,<3.6` | - | `>=0.3,<0.4` |
| status | `jupyterlite-pyodide-kernel` | `jupyterlite-core` | `jupyterlab` | `notebook` | `retrolab` |
| :----: | :--------------------------: | :----------------: | :------------: | :------------: | :----------: |
| pre | `0.3.*` | `>=0.3,<0.4` | `>=4.1.1,<4.2` | `>=7.1.0,<7.2` | - |
| stable | `0.2.*` | `>=0.2,<0.3` | `>=4.0.7,<4.1` | `>=7.0.5,<8` | - |
| stable | `0.1.*` | `>=0.1,<0.2` | `>=3.5,<3.6` | - | `>=0.3,<0.4` |

Installing the matching version of JupyterLab with your package manager can help ensure
matching labextension assets and kernel dependencies, even though this kernel does not
Expand All @@ -37,6 +38,7 @@ yet work in a full, `jupyter_server`-hosted client such as JupyterLab or Noteboo
| `>=0.1.0,<=0.1.1` | `0.23.*` | `3.10.*` | `3.1.29` |
| `>=0.1.2,<=0.2.1` | `0.24.*` | `3.10.*` | `3.1.45` |
| `>=0.2.2,<=0.2.3` | `0.25.*` | `3.11.*` | `3.1.46` |
| `>=0.3.*,<=0.4.0` | `0.25.*` | `3.11.*` | `3.1.46` |

Note that the Emscripten version is strict down to the bugfix version.

Expand Down
10 changes: 5 additions & 5 deletions packages/pyodide-kernel-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@jupyterlab/coreutils": "^6.0.6",
"@jupyterlite/contents": "^0.2.0",
"@jupyterlite/kernel": "^0.2.0",
"@jupyterlab/coreutils": "^6.1.1",
"@jupyterlite/contents": "^0.3.0-alpha.0",
"@jupyterlite/kernel": "^0.3.0-alpha.0",
"@jupyterlite/pyodide-kernel": "^0.2.3",
"@jupyterlite/server": "^0.2.0"
"@jupyterlite/server": "^0.3.0-alpha.0"
},
"devDependencies": {
"@jupyterlab/builder": "~4.0.7",
"@jupyterlab/builder": "~4.1.1",
"rimraf": "^5.0.1",
"typescript": "~5.2.2"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/pyodide-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/coreutils": "^6.0.6",
"@jupyterlite/contents": "^0.2.0",
"@jupyterlite/kernel": "^0.2.0",
"@jupyterlab/coreutils": "^6.1.1",
"@jupyterlite/contents": "^0.3.0-alpha.0",
"@jupyterlite/kernel": "^0.3.0-alpha.0",
"comlink": "^4.4.1"
},
"devDependencies": {
"@babel/core": "^7.22.17",
"@jupyterlab/testutils": "~4.0.6",
"@jupyterlab/testutils": "~4.1.1",
"@types/jest": "^29.5.4",
"esbuild": "^0.19.2",
"jest": "^29.7.0",
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"hatchling >=1.4.0",
"jupyterlab >=4.0.7,<4.1.0a0",
"jupyterlab >=4.1.1,<4.2.0",
]
build-backend = "hatchling.build"

Expand Down Expand Up @@ -34,9 +34,10 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"jupyterlite-core >=0.2.0,<0.3.0",
"jupyterlite-core >=0.3.0a0,<0.4.0",
"pkginfo"
]

Expand Down Expand Up @@ -136,11 +137,11 @@ version_cmd = "python scripts/bump-version.py"

[tool.jupyter-releaser.hooks]
before-bump-version = [
"python -m pip install 'jupyterlab~=4.0.7'",
"python -m pip install 'jupyterlab~=4.1.1'",
"jlpm"
]
before-build-npm = [
"python -m pip install 'jupyterlab~=4.0.7' hatch",
"python -m pip install 'jupyterlab~=4.1.1' hatch",
"python -m pip install -e .[dev]",
"jlpm",
"jlpm build:prod",
Expand Down
Loading
Loading