Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,28 +529,28 @@ jobs:
name: Build PyOdide wheel
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- build: "cp313-*"
toolchain: nightly-2025-02-01
- build: "cp314-*"
toolchain: 1.93.0
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@stable
with:
# Nightly 1.86 as 1.87+ is incompatible with PyOdide as of now
toolchain: nightly-2025-02-01
toolchain: ${{ matrix.toolchain }}
targets: wasm32-unknown-emscripten
components: rust-src
- uses: actions/setup-python@v7
- uses: pypa/cibuildwheel@v4.1.0
with:
python-version: 3.13
- run: |
pip install pyodide-build>=0.28.0
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
- uses: mymindstorm/setup-emsdk@v16
with:
version: ${{ env.EMSCRIPTEN_VERSION }}
- run: pyodide build
working-directory: ./bindings/python
package-dir: ./bindings/python
env:
DEFAULT_CROSS_BUILD_ENV_URL: "https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
RUSTFLAGS: "-C link-arg=-sSIDE_MODULE=2 -Z link-native-libraries=no -Z emscripten-wasm-eh"
CIBW_PLATFORM: pyodide
CIBW_BUILD: ${{ matrix.build }}
CIBW_ENABLE: pyodide-eol

test-php:
strategy:
Expand Down
33 changes: 17 additions & 16 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,32 +289,33 @@ jobs:

pyodide:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- build: "cp313-*"
toolchain: nightly-2025-02-01
- build: "cp314-*"
toolchain: 1.93.0
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@stable
with:
# Nightly 1.86 as 1.87+ is incompatible with PyOdide as of now
toolchain: nightly-2025-02-01
toolchain: ${{ matrix.toolchain }}
targets: wasm32-unknown-emscripten
components: rust-src
- uses: actions/setup-python@v7
with:
python-version: 3.13
- run: |
pip install pyodide-build>=0.28.0
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
- uses: mymindstorm/setup-emsdk@v16
- uses: pypa/cibuildwheel@v4.1.0
with:
version: ${{ env.EMSCRIPTEN_VERSION }}
- run: pyodide build
working-directory: ./bindings/python
package-dir: ./bindings/python
output-dir: ./bindings/python/dist
env:
DEFAULT_CROSS_BUILD_ENV_URL: "https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
RUSTFLAGS: "-C link-arg=-sSIDE_MODULE=2 -Z link-native-libraries=no -Z emscripten-wasm-eh"
CIBW_PLATFORM: pyodide
CIBW_BUILD: ${{ matrix.build }}
CIBW_ENABLE: pyodide-eol
- name: Upload wheels
uses: actions/upload-artifact@v7
with:
name: wheel-pyodide
name: wheel-pyodide-${{ matrix.build }}
if-no-files-found: error
path: ./bindings/python/dist

Expand Down
4 changes: 4 additions & 0 deletions bindings/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Added

- Pyodide 3.14 wheels for the `pyemscripten_2026_0` platform. [#786](https://github.com/Stranger6667/css-inline/issues/786)

## [0.21.2] - 2026-08-24

### Fixed
Expand Down
3 changes: 0 additions & 3 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ build-backend = "maturin"

[tool.maturin]
strip = true

[tool.pyodide.build]
default_cross_build_env_url = "https://github.com/pyodide/pyodide/releases/download/0.28.0a3/xbuildenv-0.28.0a3.tar.bz2"
Loading