Skip to content

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

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented May 21, 2025

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
Copy link
Contributor Author

mgorny commented May 21, 2025

CC @FFY00

@mgorny
Copy link
Contributor Author

mgorny commented May 21, 2025

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

Copy link
Member

@FFY00 FFY00 left a comment

Choose a reason for hiding this comment

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

Thanks @mgorny!

@FFY00
Copy link
Member

FFY00 commented May 22, 2025

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
47 checks passed
@hugovk
Copy link
Member

hugovk commented May 22, 2025

And backport to 3.14?

@FFY00
Copy link
Member

FFY00 commented May 22, 2025

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

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
Copy link

bedevere-app bot commented May 22, 2025

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants