Part of #17809
Tier: A
Section: Native / contextvar
Summary:
src/native/contextvar.rs fails with E0425 on ffi::PyContextVar_New / _Get / _Set when Py_LIMITED_API is on. Those symbols are not in CPython's stable ABI; pyo3-ffi hides them behind not(Py_LIMITED_API).
Local PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 builds on 3.15 hit this (same developer convention as #18429's test plan). CI 3.15 already compiles without this change. It does not unblock wheel builds and does not lift wrap().
Fix: local PyContextVar_New / _Get / _Set decls in src/native/contextvar.rs.
Implemented in #19903.
Part of #17809
Tier: A
Section: Native / contextvar
Summary:
src/native/contextvar.rsfails with E0425 onffi::PyContextVar_New/_Get/_SetwhenPy_LIMITED_APIis on. Those symbols are not in CPython's stable ABI; pyo3-ffi hides them behindnot(Py_LIMITED_API).Local
PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1builds on 3.15 hit this (same developer convention as #18429's test plan). CI 3.15 already compiles without this change. It does not unblock wheel builds and does not liftwrap().Fix: local
PyContextVar_New/_Get/_Setdecls insrc/native/contextvar.rs.Implemented in #19903.