📦 Drop unnecessary wheel PEP 517 build dependency (#80096)

Code snippets advertising the `wheel` dependency in the
`pyproject.toml`'s `[build-system].requires` setting were a historical
mistake. This has been corrected in
https://github.com/pypa/setuptools/commit/f7d30a95 but many pyprojects
still have `wheel` in their configs.

It is not needed for building sdists and the corresponding setuptools'
PEP 517 hook that provides requirements for building wheels already
esposes this dependency automatically.
This commit is contained in:
Sviatoslav Sydorenko 2023-03-01 19:07:59 +01:00 committed by GitHub
parent 292c70368b
commit 980ec16422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[build-system]
requires = ["setuptools >= 39.2.0", "wheel"]
requires = ["setuptools >= 39.2.0"]
backend-path = ["packaging"] # requires 'Pip>=20' or 'pep517>=0.6.0'
build-backend = "pep517_backend.hooks" # wraps `setuptools.build_meta`