Inspired by the CI failure attempting to merge #4194
This PR changes the abi3 builds on PyPy and GraalPy so that if the abi3 feature is set they will still set the Py_LIMITED_API config.
Technically speaking this is a bit pointless because neither PyPy nor GraalPy support the abi3 stable ABI, but it makes it easier for us to reason about feature combinations because this way when the abi3 feature is set we always build PyO3 to only use the limited API.
I think these same changes would also make sense with #2865 because then the base cfg of the limited API would be the exact same code regardless of what interpreter implementation we're running on.
Inspired by the CI failure attempting to merge #4194
This PR changes the
abi3
builds on PyPy and GraalPy so that if theabi3
feature is set they will still set thePy_LIMITED_API
config.Technically speaking this is a bit pointless because neither PyPy nor GraalPy support the
abi3
stable ABI, but it makes it easier for us to reason about feature combinations because this way when theabi3
feature is set we always build PyO3 to only use the limited API.I think these same changes would also make sense with #2865 because then the base cfg of the limited API would be the exact same code regardless of what interpreter implementation we're running on.