bpo-43795: Add a test for Stable ABI symbol availability using ctypes#26354
bpo-43795: Add a test for Stable ABI symbol availability using ctypes#26354encukou merged 7 commits intopython:mainfrom
Conversation
This is a cross-platform check that the symbols are actually exported in the ABI, not e.g. hidden in a macro.
|
Aha, I didn't realize |
|
So, still not quite there:
|
I guess that it's https://bugs.python.org/issue44112 Yesterday, I increased the buildbot timeout from 3 hours to 4 hours to be able to debug this issue.
I should be fixed: https://bugs.python.org/issue44282 |
I guess that it's a similar issue than https://bugs.python.org/issue44133 We should try to link the Python binary from objects files (.o) rather than using the libpython static library. |
|
This PR is stale because it has been open for 30 days with no activity. |
These aren't exported on some platforms. All the others should still be tested, though, to make sure they don't disappear.
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
GH-29148 is a backport of this pull request to the 3.10 branch. |
…pythonGH-26354) This is a cross-platform check that the symbols are actually exported in the ABI, not e.g. hidden in a macro. Caveat: PyModule_Create2 & PyModule_FromDefAndSpec2 are skipped. These aren't exported on some of our buildbots. This is a bug (bpo-44133). This test now makes sure all the others don't regress. (cherry picked from commit 276468d) Co-authored-by: Petr Viktorin <[email protected]>
This is a cross-platform check that the symbols are actually
exported in the ABI, not e.g. hidden in a macro.
https://bugs.python.org/issue43795