Skip to content

ci(pypi): skip PyPy wheels so the v1.1.0 release can publish#80

Merged
LimHyungTae merged 1 commit into
masterfrom
ci/skip-pypy-wheels
May 9, 2026
Merged

ci(pypi): skip PyPy wheels so the v1.1.0 release can publish#80
LimHyungTae merged 1 commit into
masterfrom
ci/skip-pypy-wheels

Conversation

@LimHyungTae
Copy link
Copy Markdown
Member

Summary

The v1.1.0 release workflow failed because cibuildwheel defaults to building both CPython and PyPy, and PyPy lacks the C API symbols pybind11 expects (PyModule_GetFilenameObject, etc.). All 6 CPython targets (cp38–cp313) built fine — only the 3 PyPy targets failed, and that fail-fast'd the whole job, so PyPI never received the wheels.

This adds CIBW_SKIP: "pp*" to the release wheel build step. PyPy support for pybind11 native extensions is not a goal of this project, so skipping is the right move (rather than patching around upstream gaps).

After this merges

I will re-create the v1.1.0 GitHub Release at the new master HEAD; that re-fires the publish workflow, which now skips PyPy and uploads CPython wheels + sdist to PyPI.

Test plan

  • Test wheels job (PR/push, CIBW_BUILD: "cp310-*") keeps working unchanged
  • Release wheels job will skip pp38/pp39/pp310 and produce 6 CPython × 3 OS = 18 wheels (verified after merge + re-release)

The v1.1.0 release run failed because cibuildwheel by default builds
for both CPython and PyPy, and PyPy 3.8/3.9/3.10 don't have the
PyModule_GetFilenameObject and other C API symbols that pybind11
requires:

  /tmp/.../pybind11/pybind11.h:1652:28: error:
    'PyModule_GetFilenameObject' was not declared in this scope

CPython cp38 through cp313 all built successfully. PyPy support for
pybind11 is not a goal of this project, so skip the PyPy targets
entirely instead of trying to patch around upstream gaps.
@LimHyungTae LimHyungTae merged commit eeeb6aa into master May 9, 2026
18 checks passed
@LimHyungTae LimHyungTae deleted the ci/skip-pypy-wheels branch May 9, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant