From b7a102b0c9214790a6b4f95528aaab56b142c45e Mon Sep 17 00:00:00 2001 From: Alexis Jeandet Date: Fri, 15 May 2026 20:27:13 +0200 Subject: [PATCH] Enable WASM wheel upload to PyPI Upgrade cibuildwheel to v4.0.0rc1 (PEP 783 pyemscripten platform tag support) and remove the wasm32 wheel deletion from upload jobs. Also remove deprecated cpython-freethreading enable option (automatic in v4). --- .github/workflows/CI.yml | 6 +----- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2b3225c..54d1d14 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -72,7 +72,7 @@ jobs: key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.CIBW_ARCHS }} # Make cache specific to OS/ARCH max-size: "5G" - name: Build wheels - uses: pypa/cibuildwheel@v3.4.1 + uses: pypa/cibuildwheel@v4.0.0rc1 - uses: actions/upload-artifact@v7 with: name: cibw-wheels-${{ matrix.os }}-${{ matrix.CIBW_ARCHS }} @@ -163,8 +163,6 @@ jobs: pattern: cibw-* path: dist merge-multiple: true - - name: Remove wasm32 wheels (until PyPI PEP 783 is implemented) - run: find dist -name "*wasm32.whl" -delete - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: @@ -186,8 +184,6 @@ jobs: pattern: cibw-* path: dist merge-multiple: true - - name: Remove wasm32 wheels (until PyPI PEP 783 is implemented) - run: find dist -name "*wasm32.whl" -delete - name: Publish to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/pyproject.toml b/pyproject.toml index 76c3ce6..4ff5e11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ setup = ['-Doptimization=3', '-Dcpp_std=c++20', '--force-fallback-for=libdeflate [tool.cibuildwheel] archs = ["auto"] build-frontend = "default" -enable="cpython-freethreading" [tool.cibuildwheel.windows] before-build = "python -m pip install delvewheel"