Skip to content

fix(python): correct abi3 wheel tagging to cp311#101

Merged
hubertdeng123 merged 1 commit intomainfrom
fix/abi3-py311-wheel-tag
Mar 9, 2026
Merged

fix(python): correct abi3 wheel tagging to cp311#101
hubertdeng123 merged 1 commit intomainfrom
fix/abi3-py311-wheel-tag

Conversation

@hubertdeng123
Copy link
Copy Markdown
Member

Summary

  • After the module restructuring in feat(testing): Option Overrides for testing #50 (moving to sentry_options._core), maturin stopped inferring the ABI3 minimum from requires-python and fell back to cp38
  • Explicitly pass pyo3/abi3-py311 in pyproject.toml maturin features so wheels are tagged abi3-cp311 instead of abi3-cp38

Test plan

  • Verify CI builds produce abi3-cp311 tagged wheels instead of abi3-cp38

🤖 Generated with Claude Code

…ging

After the module restructuring in #50, maturin stopped inferring the
ABI3 minimum from requires-python and fell back to cp38. Explicitly
passing pyo3/abi3-py311 ensures wheels are tagged abi3-cp311.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@kenzoengineer kenzoengineer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the releases are tagged cp311-abi3 but you added abi3-py311 is that normal?

@hubertdeng123
Copy link
Copy Markdown
Member Author

That is the feature flag https://pyo3.rs/v0.28.2/building-and-distribution#minimum-python-version-for-abi3

I think that's right

@hubertdeng123 hubertdeng123 merged commit de91b95 into main Mar 9, 2026
22 checks passed
@hubertdeng123 hubertdeng123 deleted the fix/abi3-py311-wheel-tag branch March 9, 2026 21:49
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