Skip to content

Remove universal bdist_wheel option from setup.py#6140

Closed
20bytes wants to merge 1 commit intogetsentry:masterfrom
20bytes:remove-universal-bdist-wheel
Closed

Remove universal bdist_wheel option from setup.py#6140
20bytes wants to merge 1 commit intogetsentry:masterfrom
20bytes:remove-universal-bdist-wheel

Conversation

@20bytes
Copy link
Copy Markdown

@20bytes 20bytes commented Apr 26, 2026

Closes #6121.

Since Python 2 support was removed, the options={"bdist_wheel": {"universal": "1"}} setting in setup.py is no longer needed. That option was responsible for tagging built wheels as py2.py3-none-any; without it, wheels are correctly tagged py3-none-any.

The only other place that tag appeared was the hardcoded filename in scripts/build_aws_lambda_layer.py, so that string is updated to match.

If I'm missing any other references to the old tag, or if the direction here doesn't fit the team's plans, no problem at all — happy to adjust.


This PR was drafted with AI assistance. The logic and file changes have been reviewed for correctness.

Python 2 support was removed, so the `options={"bdist_wheel": {"universal": "1"}}`
flag is no longer needed. Without it, wheels are tagged `py3-none-any` rather than
`py2.py3-none-any`, so also update the hardcoded filename in the Lambda layer
build script to match.

Fixes getsentry#6121

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@20bytes 20bytes requested a review from a team as a code owner April 26, 2026 13:37
@sdk-maintainer-bot sdk-maintainer-bot Bot added missing-maintainer-discussion Used for automated community contribution checks. violating-contribution-guidelines Used for automated community contribution checks. labels Apr 26, 2026
@sdk-maintainer-bot
Copy link
Copy Markdown

This PR has been automatically closed. The referenced issue does not show a discussion between you and a maintainer.

To avoid wasted effort on both sides, please discuss your proposed approach in the issue first and wait for a maintainer to respond before opening a PR.

Please review our contributing guidelines for more details.

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

Labels

missing-maintainer-discussion Used for automated community contribution checks. violating-contribution-guidelines Used for automated community contribution checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the universal bdist_wheel option in setup.py

1 participant