Skip to content

gh-134455: Fix build-details.json to use the c_api.headers key - #134456

Merged
FFY00 merged 2 commits into
python:mainfrom
mgorny:capi-headers-134455
May 22, 2025
Merged

FFY00 merged 2 commits into
python:mainfrom
mgorny:capi-headers-134455

Conversation

@mgorny

@mgorny mgorny commented May 21, 2025 •

Copy link
Copy Markdown
Contributor

Fix build-details.json generation to use the correct c_api.headers key as defined in PEP 739, instead of c_api.include.

…` key

Fix `build-details.json` generation to use the correct `c_api.headers`
key as defined in PEP 739, instead of `c_api.include`.
@mgorny

mgorny commented May 21, 2025

Copy link
Copy Markdown
Contributor Author

CC @FFY00

@mgorny

mgorny commented May 21, 2025

Copy link
Copy Markdown
Contributor Author

Apparently the standalone tool has the same problem, and someone already submitted a fix for it: FFY00/python-introspection#2

@FFY00 FFY00 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mgorny!

@FFY00

FFY00 commented May 22, 2025

Copy link
Copy Markdown
Member

Apparently the standalone tool has the same problem, and someone already submitted a fix for it: FFY00/python-introspection#2

Yeah, that's the origin of the code I merged into CPython, so it tracks 😅

@FFY00
FFY00 enabled auto-merge (squash) May 22, 2025 10:53
@FFY00
FFY00 merged commit d706eb9 into python:main May 22, 2025
@hugovk

hugovk commented May 22, 2025

Copy link
Copy Markdown
Member

And backport to 3.14?

@FFY00

FFY00 commented May 22, 2025

Copy link
Copy Markdown
Member

Ah, yes, I was forgetting we already branched out. Thanks for the reminder @hugovk!

@hugovk hugovk added the needs backport to 3.14 bugs and security fixes label May 22, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @mgorny for the PR, and @FFY00 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request 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>
@bedevere-app

bedevere-app Bot commented May 22, 2025

Copy link
Copy Markdown

GH-134504 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 22, 2025
hugovk pushed a commit that referenced this pull request May 22, 2025
…`` key (GH-134456) (#134504)

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 pull request 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>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 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>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 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>
gostak-dd pushed a commit to gostak-dd/cpython that referenced this pull request Jun 2, 2026
…` 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

Labels

None yet

3 participants