Skip to content

Set PYO3_PYTHON to run scripts for stable ABI builds#3233

Merged
messense merged 1 commit into
PyO3:mainfrom
ngoldbaum:fix-pyo3-cffi-build-script
Jun 19, 2026
Merged

Set PYO3_PYTHON to run scripts for stable ABI builds#3233
messense merged 1 commit into
PyO3:mainfrom
ngoldbaum:fix-pyo3-cffi-build-script

Conversation

@ngoldbaum

Copy link
Copy Markdown
Contributor

The && !force_target_abi was introduced incorrectly by me in #3226 and hasn't yet shown up in a release. I hit this testing abi3t builds for cryptography with from-source builds of maturin: pyca/cryptography#15063.

To better help Maturin's CI catch issues that are load-bearing for the cryptography project, I also added a test crate that uses CFFI like cryptography does: cooperatively with PyO3 and using PYO3_PYTHON to shell out and run a CFFI script.

I manually verified that the new integration test fails on maturin's current main branch.

@messense messense merged commit 37cbb4a into PyO3:main Jun 19, 2026
45 checks passed
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.

2 participants