Skip to content

Stop including 'wheel', setuptools 70.1 has native bdist_wheel support #2868

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

Merged
merged 4 commits into from
Apr 28, 2025

Conversation

stefanor
Copy link
Contributor

@stefanor stefanor commented Apr 10, 2025

setuptools has native bdist_wheel support these days, so I don't think it's necessary to bundle the wheel library any more. Or am I missing something?

Possibly we could include a noop --no-wheel argument (but I'm not sure where that would be best defined).

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

@stefanor stefanor force-pushed the no-wheel branch 5 times, most recently from bce9ebb to d0cb03a Compare April 10, 2025 22:49
@stefanor
Copy link
Contributor Author

The two blockers are resolved. Note that this PR now bumps the bundled pip (except for Python 3.8, which I assume we'll remove shortly).

Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

PR still failing.

@gaborbernat gaborbernat enabled auto-merge April 28, 2025 13:39
@gaborbernat gaborbernat merged commit 3fa94b7 into pypa:main Apr 28, 2025
42 checks passed
@stefanor stefanor deleted the no-wheel branch April 28, 2025 16:34
stefanor added a commit to stefanor/cffi that referenced this pull request Apr 29, 2025
…these tests

Previously we relied on pip to build the packages in non-PEP517 mode,
which implied no build isolation.

The latest `virtualenv` (with pypa/virtualenv#2868) won't include
`wheel` in the virtualenv, which will mean that pip uses PEP-517 mode,
which is isolated by default.
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.

3 participants