Skip to content

Commit a9a7f2d

Browse files
committed
Update for Pyodide 0.26.0a5
1 parent 02374e6 commit a9a7f2d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cibuildwheel/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"macosx_x86_64": "macOS x86_64",
3535
"macosx_universal2": "macOS Universal 2 - x86_64 and arm64",
3636
"macosx_arm64": "macOS arm64 - Apple Silicon",
37-
"pyodide_wasm32": "Pyodide v0.23.x",
37+
"pyodide_wasm32": "Pyodide",
3838
}
3939

4040

cibuildwheel/resources/build-platforms.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ python_configurations = [
169169

170170
[pyodide]
171171
python_configurations = [
172-
{ identifier = "cp312-pyodide_wasm32", version = "3.12.1", pyodide_version = "0.26.0a4", emscripten_version = "3.1.52" },
172+
{ identifier = "cp312-pyodide_wasm32", version = "3.12.1", pyodide_version = "0.26.0a5", emscripten_version = "3.1.58" },
173173
]

test/test_custom_repair_wheel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
wheel = Path(sys.argv[1])
1818
dest_dir = Path(sys.argv[2])
19-
print("reparing", wheel, dest_dir)
19+
print("repairing", wheel, dest_dir)
2020
platform = wheel.stem.split("-")[-1]
2121
name = f"spam-0.1.0-py2-none-{platform}.whl"
2222
dest = dest_dir / name
@@ -56,5 +56,5 @@ def test(tmp_path, capfd):
5656
# As far as I can tell, this is the only full test coverage for
5757
# CIBW_REPAIR_WHEEL_COMMAND so this is useful even in the case when no
5858
# error is raised
59-
assert "spam-0.1.0-py2-none-emscripten" in captured.out
59+
assert "spam-0.1.0-py2-none-pyodide" in captured.out
6060
assert result[0].startswith("spam-0.1.0-py2-none-")

test/test_emscripten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_pyodide_build(tmp_path, use_pyproject_toml):
3939

4040
# check that the expected wheels are produced
4141
expected_wheels = [
42-
"spam-0.1.0-cp312-cp312-emscripten_3_1_52_wasm32.whl",
42+
"spam-0.1.0-cp312-cp312-pyodide_2024_0_wasm32.whl",
4343
]
4444

4545
print("actual_wheels", actual_wheels)

test/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def expected_wheels(
212212

213213
if platform == "pyodide":
214214
python_abi_tag = "cp312-cp312"
215-
platform_tag = "emscripten_3_1_52_wasm32"
215+
platform_tag = "pyodide_2024_0_wasm32"
216216
return [f"{package_name}-{package_version}-{python_abi_tag}-{platform_tag}.whl"]
217217

218218
for python_abi_tag in python_abi_tags:

0 commit comments

Comments
 (0)