Skip to content

Commit e14b93b

Browse files
committed
try using python 3.12 given pyodide error: 'ValueError: Wheel abi 'cp311' is not supported. Supported abis are 'abi3' and 'cp312'.'
1 parent d0fd5d5 commit e14b93b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

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_58_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

0 commit comments

Comments
 (0)