ITADN

Maturin uses outdated platform tag for Emscripten

#3189OpenViicos 创建于 2026-05-17
V
Viicoscommented
### Bug Description When trying to build Emscripten wheels with maturin on Python 3.13, it produces wheels with the old `pyodide_2025_0` platform tag, which isn't accepted by PyPI. I was wondering if https://github.com/PyO3/maturin/pull/3187 would be fixing this issue (unreleased as of today), but it seems to still be an issue (as can be seen in this [workflow run](https://github.com/pydantic/pydantic/actions/runs/25990049624/job/76394417822?pr=13199) where I've used `before-script-linux` from the `maturin-action` to override the installed maturin version). I think there is still some confusion in the [pyodide documentation](https://pyodide.org/en/latest/development/abi.html), because it still uses `pyodide_2024/5_0` as a platform tag (I opened https://github.com/pyodide/pyodide/issues/6243 to get clarification on this). (I presume the same applies for 2024). ### Your maturin version (`maturin --version`) 1.13.3 (from main) ### Your Python version (`python -V`) 3.13 ### Your pip version (`pip -V`) N/A ### What bindings you're using pyo3 ### Does `cargo build` work? - [ ] Yes, it works ### If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash `/`)? - [ ] Yes ### Steps to Reproduce See workflow run at https://github.com/pydantic/pydantic/actions/runs/25990049624/job/76394417822?pr=13199.
0 条评论