fix: linking error building `_testcapi` in Python 3.12 #434 by Andrej730 · Pull Request #435 · python-cmake-buildsystem/python-cmake-buildsystem
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
wants to merge 3 commits into
Open
fix: linking error building _testcapi in Python 3.12 #434#435
wants to merge 3 commits into
fix: linking error building _testcapi in Python 3.12 #434#435
wants to merge 3 commits into
Conversation
Resolves #434.
In 3.12 _testcapi now had a file with Py_LIMITED_API so it was requiring python3.lib to link.
https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c
Though issue is resolved, it might be still worth investigating why CI didn't catched that error.
Andrej730
force-pushed
the
fix-linking-_testcapi
branch
from
777576c to
31e8fa1
Compare
Andrej730
commented
Dec 6, 2025
Andrej730 commented
Author
Andrej730 added 3 commits
Andrej730
force-pushed
the
fix-linking-_testcapi
branch
from
31e8fa1 to
1f6a6a7
Compare
Andrej730
commented
Apr 8, 2026
Andrej730 commented
Author
@jcfr can you please take a look?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
