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 Pyodide 0.27.1 #159

Merged
merged 3 commits into from
Jan 15, 2025
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 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.27.0/full/pyodide-lock.json?from-lite-config=1"
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.27.1/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.27.0"
PYODIDE_VERSION = "0.27.1"

#: the only kind of noarch wheel piplite understands
NOARCH_WHL = "py3-none-any.whl"
Expand Down
6 changes: 3 additions & 3 deletions jupyterlite_pyodide_kernel/tests/test_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

def test_pyodide_version():
kernel_pkg_data = json.loads(KERNEL_PKG_JSON.read_text(**UTF8))
assert (
kernel_pkg_data["devDependencies"]["pyodide"] == PYODIDE_VERSION
), f"{kernel_pkg_data} pyodide devDependency is not {PYODIDE_VERSION}"
assert kernel_pkg_data["devDependencies"]["pyodide"] == PYODIDE_VERSION, (
f"{kernel_pkg_data} pyodide devDependency is not {PYODIDE_VERSION}"
)


@pytest.fixture
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.27.0/full/pyodide.js",
"default": "https://cdn.jsdelivr.net/pyodide/v0.27.1/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.27.0/full/pyodide.js';
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.27.1/full/pyodide.js';

/**
* The id for the extension, and key in the litePlugins.
Expand Down
2 changes: 1 addition & 1 deletion packages/pyodide-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/jest": "^29.5.4",
"esbuild": "^0.19.2",
"jest": "^29.7.0",
"pyodide": "0.27.0",
"pyodide": "0.27.1",
"rimraf": "^5.0.1",
"ts-jest": "^26.3.0",
"typescript": "~5.2.2"
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ __metadata:
comlink: ^4.4.2
esbuild: ^0.19.2
jest: ^29.7.0
pyodide: 0.27.0
pyodide: 0.27.1
rimraf: ^5.0.1
ts-jest: ^26.3.0
typescript: ~5.2.2
Expand Down Expand Up @@ -10897,12 +10897,12 @@ __metadata:
languageName: node
linkType: hard

"pyodide@npm:0.27.0":
version: 0.27.0
resolution: "pyodide@npm:0.27.0"
"pyodide@npm:0.27.1":
version: 0.27.1
resolution: "pyodide@npm:0.27.1"
dependencies:
ws: ^8.5.0
checksum: 8d5382b16f37659595488ce69c46beb855a7fc3950254324f98c1cf619a9cc9ac2e304331a343391b8135200732b0a1a13f629989c13ca02b70a2e9dd8cb9029
checksum: af2f25207ffdb75f46dccf97fc112b724683088706df299516efa0eee11a992668724ba451f5646c399049c08dd50b93e4f5aa848b67be9892a3e66a765090d0
languageName: node
linkType: hard

Expand Down
Loading