Skip to content

Commit

Permalink
update to pyodide 0.26.0 (#113)
Browse files Browse the repository at this point in the history
* start pyodide 0.26.0

* update readme
  • Loading branch information
bollwyvl authored Jun 5, 2024
1 parent 474d2a7 commit 6696a9e
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 261 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ yet work in a full, `jupyter_server`-hosted client such as JupyterLab or Noteboo
| `>=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` |
| `>=0.4.*,<=0.5.0` | `0.25.*` | `3.11.*` | `3.1.46` |
| `>=0.4.*,<=0.5.0` | `0.26.*` | `3.12.*` | `3.1.58` |

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

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
],
"logo": {"text": P["name"]},
"navigation_with_keys": False,
"pygment_light_style": "github-light",
"pygment_dark_style": "github-dark",
"pygments_light_style": "github-light",
"pygments_dark_style": "github-dark",
"use_edit_page_button": True,
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jupyter-lite.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@jupyterlite/pyodide-kernel-extension:kernel": {
"loadPyodideOptions": {
"packages": ["matplotlib", "micropip", "numpy", "sqlite3", "ssl"],
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide-lock.json?from-lite-config=1"
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.26.0/full/pyodide-lock.json?from-lite-config=1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jupyterlite_pyodide_kernel/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
PYODIDE_URL_ENV_VAR = "JUPYTERLITE_PYODIDE_URL"

#: probably only compatible with this version of pyodide
PYODIDE_VERSION = "0.25.0"
PYODIDE_VERSION = "0.26.0"

#: the only kind of noarch wheel piplite understands
NOARCH_WHL = "py3-none-any.whl"
Expand Down
8 changes: 4 additions & 4 deletions packages/pyodide-kernel-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
},
"dependencies": {
"@jupyterlab/coreutils": "^6.1.1",
"@jupyterlite/contents": "^0.4.0-alpha.0",
"@jupyterlite/kernel": "^0.4.0-alpha.0",
"@jupyterlite/contents": "^0.4.0-alpha.3",
"@jupyterlite/kernel": "^0.4.0-alpha.3",
"@jupyterlite/pyodide-kernel": "^0.4.0-alpha.1",
"@jupyterlite/server": "^0.4.0-alpha.0"
"@jupyterlite/server": "^0.4.0-alpha.3"
},
"devDependencies": {
"@jupyterlab/builder": "~4.1.1",
"@jupyterlab/builder": "~4.2.1",
"rimraf": "^5.0.1",
"typescript": "~5.2.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"pyodideUrl": {
"description": "The path to the main pyodide.js entry point",
"type": "string",
"default": "https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide.js",
"default": "https://cdn.jsdelivr.net/pyodide/v0.26.0/full/pyodide.js",
"format": "uri"
},
"disablePyPIFallback": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pyodide-kernel-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const KERNEL_ICON_URL = `data:image/svg+xml;base64,${btoa(KERNEL_ICON_SVG_STR)}`
/**
* The default CDN fallback for Pyodide
*/
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide.js';
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.26.0/full/pyodide.js';

/**
* The id for the extension, and key in the litePlugins.
Expand Down
6 changes: 3 additions & 3 deletions packages/pyodide-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
},
"dependencies": {
"@jupyterlab/coreutils": "^6.1.1",
"@jupyterlite/contents": "^0.4.0-alpha.0",
"@jupyterlite/kernel": "^0.4.0-alpha.0",
"@jupyterlite/contents": "^0.4.0-alpha.3",
"@jupyterlite/kernel": "^0.4.0-alpha.3",
"comlink": "^4.4.1"
},
"devDependencies": {
Expand All @@ -63,7 +63,7 @@
"@types/jest": "^29.5.4",
"esbuild": "^0.19.2",
"jest": "^29.7.0",
"pyodide": "0.25.0",
"pyodide": "0.26.0",
"rimraf": "^5.0.1",
"ts-jest": "^26.3.0",
"typescript": "~5.2.2"
Expand Down
4 changes: 2 additions & 2 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.1.1,<4.2.0",
"jupyterlab >=4.2.1,<4.3.0",
]
build-backend = "hatchling.build"

Expand Down Expand Up @@ -37,7 +37,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"jupyterlite-core >=0.4.0a0,<0.5.0",
"jupyterlite-core >=0.4.0a3,<0.5.0",
"pkginfo"
]

Expand Down
Loading

0 comments on commit 6696a9e

Please sign in to comment.