From 0de4ce2f3404120831ac0d8f6a1c1aae84beaed0 Mon Sep 17 00:00:00 2001 From: Jamil HAJJAR Date: Mon, 24 Mar 2025 17:00:27 +0100 Subject: [PATCH 1/3] pin setuptool max version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 441d8f6ba75..5aae993021f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools>=61.0.0", "wheel"] +requires = ["setuptools>=61.0.0, <78.0.0", "wheel"] [project] # Check https://setuptools.pypa.io/en/stable/userguide/quickstart.html for all available sections From f5ed5371ed9a82b76288acfd30da01006c0796a8 Mon Sep 17 00:00:00 2001 From: Jamil HAJJAR Date: Mon, 24 Mar 2025 17:07:34 +0100 Subject: [PATCH 2/3] Revert "pin setuptool max version" This reverts commit 0de4ce2f3404120831ac0d8f6a1c1aae84beaed0. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5aae993021f..441d8f6ba75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools>=61.0.0, <78.0.0", "wheel"] +requires = ["setuptools>=61.0.0", "wheel"] [project] # Check https://setuptools.pypa.io/en/stable/userguide/quickstart.html for all available sections From 2090b6778712914ce3c0e6ed0015d847213ea5bf Mon Sep 17 00:00:00 2001 From: Jamil HAJJAR Date: Mon, 24 Mar 2025 17:08:45 +0100 Subject: [PATCH 3/3] fix buil_wheel for new version of setuptools --- .ci/build_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build_wheel.py b/.ci/build_wheel.py index 2408c92ee79..7a6b4fb8d8f 100644 --- a/.ci/build_wheel.py +++ b/.ci/build_wheel.py @@ -45,7 +45,7 @@ # Create the temporary build-opts.cfg build_opts_path = Path(tmpdirname) / "build-opts.cfg" - build_opts_path.write_text(f"[bdist_wheel]\nplat-name={requested_platform}", encoding="utf-8") + build_opts_path.write_text(f"[bdist_wheel]\nplat_name={requested_platform}", encoding="utf-8") os.environ["DIST_EXTRA_CONFIG"] = str(build_opts_path) # Move the binaries