Repository navigation
Bump pyo3 to 0.29.3 to fix wheel builds on PyPy 3.12 - #127
Merged
Merged
Conversation
CI started failing on build-linux (aarch64) and build-musllinux
because the manylinux/musllinux build images now ship PyPy 3.12.
maturin's `--find-interpreter` picks it up automatically, and
pyo3-ffi 0.29.0 fails to compile for it:
error[E0425]: cannot find type `c_int` in this scope
error[E0425]: cannot find type `_PyInterpreterFrame` in this scope
In pyo3-ffi 0.29.0, `PyDict_ClearWatcher`/`Watch`/`Unwatch` and the
`PyUnstable_InterpreterFrame_*` functions are declared for any
`Py_3_12` target, but the `c_int` import and the `_PyInterpreterFrame`
type they need are only defined when not building for PyPy. PyPy 3.12
hits this mismatch and the crate fails to compile.
pyo3-ffi 0.29.3 fixes the cfg gating so both sides agree again. Our
code is unaffected; this is just a dependency bump to a newer patch
release.
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
shsms
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The manylinux/musllinux build images now ship PyPy 3.12, which maturin's
--find-interpreterpicks up automatically. pyo3-ffi 0.29.0 has a cfg-gating bug and fails to compile for it. pyo3-ffi 0.29.3 fixes it.