Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup: Simplify build of abi3 wheels and add tests #3433

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

bdarnell
Copy link
Member

Our hacky override of the bdist_wheel command is no longer necessary and will stop working in future versions of setuptools. Remove it, and add tests with the abi3audit package to ensure that our official releases remain abi3-compatible.

This PR replaces #3425 which fixed the future-setuptools compatibility but left the override in place.

macos-12 is leaving support soon; macos-15 is currently the
latest version.

See actions/runner-images#10721
This is no longer necessary in recent versions of setuptools
(and we now check that abi3 is used properly in official releases).
The bdist_wheel implementation is being moved from the wheel package
into setuptools so overriding it will stop working in the future.

Follows the example of joerick/python-abi3-package-sample#30

Replaces tornadoweb#3425
@tacaswell
Copy link

I can confirm that this works with setuptools main branch.

Deleting complexity is better than making it more complex 🤣

@bdarnell bdarnell merged commit 385fd88 into tornadoweb:master Oct 24, 2024
13 checks passed
@bdarnell bdarnell deleted the abi3audit branch October 24, 2024 14:20
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