Skip to content

extend pyo3-ffi-check to check functions#5965

Open
davidhewitt wants to merge 5 commits intoPyO3:mainfrom
davidhewitt:ffi-check-functions
Open

extend pyo3-ffi-check to check functions#5965
davidhewitt wants to merge 5 commits intoPyO3:mainfrom
davidhewitt:ffi-check-functions

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

This attempts to add more correctness to pyo3-ffi by validating that external function symbols actually exist and have the same number of arguments. This is quite a step forward, where pyo3-ffi-check currently doesn't check anything for functions.

@ngoldbaum
Copy link
Copy Markdown
Contributor

Let me know if you want some support with this. I'd really like to extend the FFI checking to abi3 and abi3t as well.

@davidhewitt davidhewitt added the CI-no-fail-fast If one job fails, allow the rest to keep testing label Apr 13, 2026
@davidhewitt
Copy link
Copy Markdown
Member Author

Help is welcome, yes. Fixing all the definitions for all versions looks like it might take a bit of work, worse I am running into variants of #4882 when trying to try to test for different versions. Maybe I will first try to get #5862 merged first which will simplify the build process and make it easier to probe.

Feel free to push to this PR in the meanwhile.

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

Labels

CI-build-full CI-no-fail-fast If one job fails, allow the rest to keep testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants