Open
Description
Bug report
Bug description:
Sorry I didn't notice this while fixing #134455 but c_api.headers
key contains the path to top-level system include directory, i.e.:
{
"c_api": {
"headers": "/usr/local/include",
"pkgconfig_path": "/usr/local/lib/pkgconfig"
}
}
while according to the examples in PEP 739, it should contain the path to the pythonX.Y
directory:
Examples
/usr/include/python3.14
include/python3.14
etc.
CPython versions tested on:
3.14, CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-134632: Fix
build-details.json
to useINCLUDEPY
path #134633 - [3.14] gh-134632: Fix
build-details.json
to useINCLUDEPY
path (GH-134633) #135605 - gh-134632: Add iOS/Android test skip for C API check for headers. #135656
- [3.14] gh-134632: Add iOS/Android test skip for C API check for headers. (GH-135656) #135657