feat: Pyodide 0.28 release (#2487)

* Bump testing version to 0.28.0

* Bump Pyodide constraints

* Add Pyodide 0.28.0 identifier

* Override to a different, alpha version for testing

* Update docs for Pyodide versions everywhere

* Add comment on using older Pyodide alpha version

* Bump to `"cp313*"` for compatibility

* Drop identifier for Pyodide 0.28.0a3

* Add back Pyodide 0.28.0a3 identifier

* Add helpful comment about pyodide-prerelease option

* Fix test and add a comment about it

* Keep one Pyodide version per Python version

* Fix docs for `pyodide-prerelease`; Python ➡️ Pyodide

* Update utils.py

* Drop CI test step for overridden Pyodide version

Suggested-by: Joe Rickerby <joerick@mac.com>

---------

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
Agriya Khetarpal
2025-07-12 18:38:50 -07:00
committed by GitHub
co-authored by Henry Schreiner
parent 5e245905b3
commit cd9b48cb74
7 changed files with 24 additions and 32 deletions
+8 -8
View File
@@ -1288,22 +1288,22 @@ The available Pyodide versions are determined by the version of `pyodide-build`
```toml
[tool.cibuildwheel.pyodide]
# Build Pyodide wheels using Pyodide version 0.27.6
pyodide-version = "0.27.6"
# Build Pyodide wheels using Pyodide version 0.28.0
pyodide-version = "0.28.0"
[tool.cibuildwheel.pyodide]
# Build Pyodide wheels using a specific alpha release
pyodide-version = "0.28.0a2"
# Build Pyodide wheels using a specific, previously released alpha release of 0.28.0
pyodide-version = "0.28.0a3"
```
!!! tab examples "Environment variables"
```yaml
# Build Pyodide wheels using Pyodide version 0.27.6
CIBW_PYODIDE_VERSION: 0.27.6
# Build Pyodide wheels using Pyodide version 0.28.0
CIBW_PYODIDE_VERSION: 0.28.0
# Build Pyodide wheels using a specific alpha release
CIBW_PYODIDE_VERSION: 0.28.0a2
# Build Pyodide wheels using a specific, previously released alpha release of 0.28.0
CIBW_PYODIDE_VERSION: 0.28.0a3
```