Skip to content

No longer suggest wheel in build-requires for PEP 517 builds - #1050

Merged
pradyunsg merged 1 commit into
pypa:mainfrom
henryiii:patch-3
Mar 11, 2022
Merged

No longer suggest wheel in build-requires for PEP 517 builds#1050
pradyunsg merged 1 commit into
pypa:mainfrom
henryiii:patch-3

Conversation

@henryiii

@henryiii henryiii commented Feb 22, 2022

Copy link
Copy Markdown
Contributor

"wheel" is included with proper version by get_requires_for_build_wheel from PEP 517, and isn't required for making an sdist, and might not be required in the future at all (in which case setuptools will modify get_requires_for_build_wheel). It's available even in 40.8.

This was probably my fault (actually, yes it was, git blame's to me). It is very common, so maybe we should mention wheel is not required? I'd go for simple, I think, but it's possible someone will try to add it again in a PR.

@bhrutledge bhrutledge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Confirmed that removing wheel still builds a .whl. Just one optional question.

Comment thread source/tutorials/packaging-projects.rst
`"wheel"` is included with proper version by `get_requires_for_build_wheel` from PEP 517, and isn't required for making an sdist, and might not be required in the future at all (in which case setuptools will modify `get_requires_for_build_wheel`).
@pradyunsg pradyunsg changed the title fix: no wheel needed for PEP 517 builds No longer suggest wheel in build-requires for PEP 517 builds Mar 11, 2022
@pradyunsg
pradyunsg enabled auto-merge (squash) March 11, 2022 14:26
@pradyunsg
pradyunsg merged commit bd26de9 into pypa:main Mar 11, 2022
@henryiii
henryiii deleted the patch-3 branch March 11, 2022 18:02

@Joniisfukd Joniisfukd left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[spam that has been removed]

@CAM-Gerlach

Copy link
Copy Markdown
Contributor

@pradyunsg Spam 👆 I've seen these bots everywhere on GitHub lately.

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.

5 participants