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

BLD: prefer to use bdist_wheel from setuptools rather than wheel #3425

Conversation

tacaswell
Copy link

Due to upcoming changes to
setuptools (pypa/setuptools#4647) using bdist_wheel from wheel will fail.

This could possibly be simplified to always use wheel from setuptools, however I am unsure on your policy on the range of setuptool versions supported.

Due to upcoming changes to
setuptools (pypa/setuptools#4647) using
bdist_wheel from wheel will fail.
@bdarnell
Copy link
Member

I'm also unsure of my policy for setuptools versions; I've never really had to think about it. Now that we can put a version in the build-system section of pyproject.toml there's no real reason to support older versions of setuptools, is there?

I'd love to get rid of this whole bdist_wheel override, and it looks like it might be possible with current versions of setuptools. I haven't tested this PR (on the repo that I copied the bdist_wheel override from), but it looks like setuptools now has better understanding of abi3. https://github.com/joerick/python-abi3-package-sample/pull/30/files

bdarnell added a commit to bdarnell/tornado that referenced this pull request Oct 24, 2024
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
@bdarnell
Copy link
Member

In #3433 I've removed the bdist_wheel override entirely after verifying that it doesn't break anything.

@bdarnell bdarnell closed this Oct 24, 2024
@tacaswell tacaswell deleted the bld/prefer_setuptools_over_wheel_for_wheel branch October 24, 2024 14:09
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