Commit ba0b060
committed
Tag the Pyodide wheel per PEP 783 so PyPI accepts it
The original commit produced a wheel tagged `emscripten_3_1_58_wasm32`.
PyPI's warehouse validator (live since 2026-04-21) only accepts
`pyemscripten_<year>_<patch>_wasm32` per PEP 783, so that wheel would
have been rejected at upload time. Local `emfs://` verification did
not catch this because it bypasses index-side tag validation.
Updates:
- Bump Pyodide to 0.29.4, which natively installs `pyemscripten_*`
wheels (pyodide/pyodide#6180, #6203) and ships Python 3.13 as its
bundled interpreter.
- Bump host Python on the runner to 3.13 to satisfy pyodide-build's
xbuildenv compatibility check.
- Pin maturin to >= 1.13.2, which introduced the PEP 783 tag cascade
(PyO3/maturin#3163), and export
`MATURIN_PYEMSCRIPTEN_PLATFORM_VERSION` derived from `pyodide
config get` so the cascade emits the `pyemscripten_*` tag even on
Pyodide 0.29 (where it would otherwise fall back to `pyodide_*`).
- Verify step now asserts the wheel filename matches
`pyemscripten_<year>_<patch>_wasm32.whl` before loading, so a
PyPI-incompatible tag fails CI loudly instead of slipping through.1 parent 05b014c commit ba0b060
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
| |||
178 | 184 | | |
179 | 185 | | |
180 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
181 | 190 | | |
182 | 191 | | |
183 | 192 | | |
| |||
0 commit comments