From f35e3e6ac8e62abe7f764decfdd3a00ed15509b8 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 8 Apr 2025 22:40:46 -0700 Subject: [PATCH] [stable-2.18] Pin `wheel` to resolve build issues (#84943) (#84944) (cherry picked from commit 8b0c4825aef60c7b5b12ec46aeef969387679301) --- changelogs/fragments/pin-wheel.yml | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/pin-wheel.yml diff --git a/changelogs/fragments/pin-wheel.yml b/changelogs/fragments/pin-wheel.yml new file mode 100644 index 00000000000..c3c7706e3ba --- /dev/null +++ b/changelogs/fragments/pin-wheel.yml @@ -0,0 +1,2 @@ +bugfixes: + - build - Pin ``wheel`` in ``pyproject.toml`` to ensure compatibility with supported ``setuptools`` versions. diff --git a/pyproject.toml b/pyproject.toml index 0af027cada0..2b8680a36ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 66.1.0, <= 76.0.0"] # lower bound to support controller Python versions, upper bound for latest version tested at release +requires = ["setuptools >= 66.1.0, <= 76.0.0", "wheel == 0.45.1"] # lower bound to support controller Python versions, upper bound for latest version tested at release build-backend = "setuptools.build_meta" [project]