-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
PEP 739 / build-details.json
: c_api.include
is used instead of c_api.headers
#134455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
type-bug
An unexpected behavior, bug, or error
Comments
mgorny
added a commit
to mgorny/cpython
that referenced
this issue
May 21, 2025
…` key Fix `build-details.json` generation to use the correct `c_api.headers` key as defined in PEP 739, instead of `c_api.include`.
FFY00
added a commit
that referenced
this issue
May 22, 2025
…134456) Fix `build-details.json` generation to use the correct `c_api.headers` key as defined in PEP 739, instead of `c_api.include`. Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 22, 2025
…` key (pythonGH-134456) Fix `build-details.json` generation to use the correct `c_api.headers` key as defined in PEP 739, instead of `c_api.include`. (cherry picked from commit d706eb9) Co-authored-by: Michał Górny <mgorny@gentoo.org> Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
lkollar
pushed a commit
to lkollar/cpython
that referenced
this issue
May 26, 2025
…` key (python#134456) Fix `build-details.json` generation to use the correct `c_api.headers` key as defined in PEP 739, instead of `c_api.include`. Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
PEP 739 specifies that the CPython header directory is included in the
c_api.headers
key. However, it seems that the implemented that landed in #130069 usesc_api.include
instead:I don't see any evidence that the name was changed deliberately. In fact, the code seems to be mixing both
include
andheaders
names:cpython/Tools/build/generate-build-details.py
Line 126 in 1a07a01
cpython/Tools/build/generate-build-details.py
Lines 138 to 145 in 1a07a01
CPython versions tested on:
3.14, CPython main branch
Operating systems tested on:
Linux
Linked PRs
build-details.json
to use thec_api.headers
key #134456build-details.json
to use thec_api.headers
key (GH-134456) #134504The text was updated successfully, but these errors were encountered: