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:
341
341
# NOTE!: as per https://github.com/pydantic/pydantic-core/pull/149 this version needs to match the version
342
342
# in node_modules/pyodide/repodata.json, to get the version, run:
343
343
# `cat node_modules/pyodide/repodata.json | python -m json.tool | rg platform`
344
- version : ' 3.1.46 '
344
+ version : ' 3.1.58 '
345
345
actions-cache-folder : emsdk-cache
346
346
347
347
- run : pip install 'maturin>=1,<2' 'ruff==0.5.0' typing_extensions
Original file line number Diff line number Diff line change 84
84
85
85
.PHONY : build-wasm
86
86
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
89
89
ls -lh dist
90
90
91
91
.PHONY : format
Original file line number Diff line number Diff line change 8
8
"main" : " tests/emscripten_runner.js" ,
9
9
"dependencies" : {
10
10
"prettier" : " ^2.7.1" ,
11
- "pyodide" : " ^0.25.0 "
11
+ "pyodide" : " ^0.26.3 "
12
12
},
13
13
"scripts" : {
14
14
"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):
21
21
# File saved on the GH release
22
22
pydantic_core_wheel = (
23
23
'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'
25
25
)
26
26
zip_file = ZipFile (BytesIO (base64 .b64decode (tests_zip )))
27
27
count = 0
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ async function main() {
89
89
get ( `./run_tests.py?v=${ Date . now ( ) } ` , 'text' ) ,
90
90
// e4cf2e2 commit matches the pydantic-core wheel being used, so tests should pass
91
91
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' ) ,
93
93
] ) ;
94
94
95
95
const pyodide = await loadPyodide ( ) ;
You can’t perform that action at this time.
0 commit comments