From 980ec1642233e48b71882c2018604c2b191933c2 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 1 Mar 2023 19:07:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Drop=20unnecessary=20wheel=20PEP?= =?UTF-8?q?=20517=20build=20dependency=20(#80096)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4a583ee5a39..482f222190e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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`