Skip to content

Commit 9b29661

Browse files
authored
Update Pyodide to v0.26.3 (#1507)
1 parent 9b21b0f commit 9b29661

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ jobs:
341341
# NOTE!: as per https://github.com/pydantic/pydantic-core/pull/149 this version needs to match the version
342342
# in node_modules/pyodide/repodata.json, to get the version, run:
343343
# `cat node_modules/pyodide/repodata.json | python -m json.tool | rg platform`
344-
version: '3.1.46'
344+
version: '3.1.58'
345345
actions-cache-folder: emsdk-cache
346346

347347
- run: pip install 'maturin>=1,<2' 'ruff==0.5.0' typing_extensions

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ endif
8484

8585
.PHONY: build-wasm
8686
build-wasm:
87-
@echo 'This requires python 3.11, maturin and emsdk to be installed'
88-
maturin build --release --target wasm32-unknown-emscripten --out dist -i 3.11
87+
@echo 'This requires python 3.12, maturin and emsdk to be installed'
88+
maturin build --release --target wasm32-unknown-emscripten --out dist -i 3.12
8989
ls -lh dist
9090

9191
.PHONY: format

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"main": "tests/emscripten_runner.js",
99
"dependencies": {
1010
"prettier": "^2.7.1",
11-
"pyodide": "^0.25.0"
11+
"pyodide": "^0.26.3"
1212
},
1313
"scripts": {
1414
"test": "node tests/emscripten_runner.js",

wasm-preview/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async def main(tests_zip: str, tag_name: str):
2121
# File saved on the GH release
2222
pydantic_core_wheel = (
2323
'https://githubproxy.samuelcolvin.workers.dev/pydantic/pydantic-core/releases/'
24-
f'download/{tag_name}/pydantic_core-{tag_name.lstrip("v")}-cp311-cp311-emscripten_3_1_46_wasm32.whl'
24+
f'download/{tag_name}/pydantic_core-{tag_name.lstrip("v")}-cp312-cp312-emscripten_3_1_58_wasm32.whl'
2525
)
2626
zip_file = ZipFile(BytesIO(base64.b64decode(tests_zip)))
2727
count = 0

wasm-preview/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async function main() {
8989
get(`./run_tests.py?v=${Date.now()}`, 'text'),
9090
// e4cf2e2 commit matches the pydantic-core wheel being used, so tests should pass
9191
get(zip_url, 'blob'),
92-
importScripts('https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide.js'),
92+
importScripts('https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide.js'),
9393
]);
9494

9595
const pyodide = await loadPyodide();

0 commit comments

Comments
 (0)