Skip to content

Attempt to define Python 3.12 as baseline for pybind11 compatibility#9720

Open
sonals wants to merge 1 commit intoXilinx:masterfrom
sonals:pybindver
Open

Attempt to define Python 3.12 as baseline for pybind11 compatibility#9720
sonals wants to merge 1 commit intoXilinx:masterfrom
sonals:pybindver

Conversation

@sonals
Copy link
Copy Markdown
Member

@sonals sonals commented Apr 9, 2026

Problem solved by the commit

Remove strong dependency of pybind module on the version of python it was compiled with.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

None

How problem was solved, alternative solutions (if any) and why they were rejected

Define Py_LIMITED_API to 3.12 version when compiling pybind11 module

Risks (if any) associated the changes in the commit

Requires qualification across different python versions.

What has been tested and how, request additional testing if necessary

Need to build and test with different python versions.

Documentation impact (if any)

None

Signed-off-by: Sonal Santan <sonal.santan@amd.com>
@sonals sonals added the do not merge hold off on merging label Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

clang-tidy review says "All clean, LGTM! 👍"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge hold off on merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant