File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 8484
8585.PHONY : build-wasm
8686build-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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments