From bd3c51d05462013abc331f84f70deca81131ebd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 24 May 2024 14:57:38 +0200 Subject: [PATCH 1/2] Stop explicitly listing wheel as a build dependency setuptools' get_requires_for_build_wheel() hook already injects this dependency when building wheels is requested. See also 64d89385ce4b5ae2d05d176e7746bff0baaabafd. --- news/12728.feature.rst | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 news/12728.feature.rst diff --git a/news/12728.feature.rst b/news/12728.feature.rst new file mode 100644 index 00000000000..a24f350866c --- /dev/null +++ b/news/12728.feature.rst @@ -0,0 +1,5 @@ +``wheel`` is no longer explicitly listed as a build depepndency of ``pip``. +``setuptools`` already injects this dependency in the ``get_requires_for_build_wheel()`` hook. +This makes no difference for users of ``pip``. +This makes no difference when building wheels of ``pip``. +This avoids an unnecessary dependency on ``wheel`` wehn bulding the source distribution of ``pip``. diff --git a/pyproject.toml b/pyproject.toml index 8cbf9c9f4c3..79de4e260a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ Changelog = "https://pip.pypa.io/en/stable/news/" [build-system] # The lower bound is for . -requires = ["setuptools>=67.6.1", "wheel"] +requires = ["setuptools>=67.6.1"] build-backend = "setuptools.build_meta" [tool.setuptools] From c547edfb66cfbcbdf1735647e3c27f6dc4b315b1 Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Wed, 29 May 2024 12:40:28 +0800 Subject: [PATCH 2/2] Fix typo in news fragment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- news/12728.feature.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/12728.feature.rst b/news/12728.feature.rst index a24f350866c..923d18707e0 100644 --- a/news/12728.feature.rst +++ b/news/12728.feature.rst @@ -2,4 +2,4 @@ ``setuptools`` already injects this dependency in the ``get_requires_for_build_wheel()`` hook. This makes no difference for users of ``pip``. This makes no difference when building wheels of ``pip``. -This avoids an unnecessary dependency on ``wheel`` wehn bulding the source distribution of ``pip``. +This avoids an unnecessary dependency on ``wheel`` when building the source distribution of ``pip``.