From b2b0aab464b1d5be3cf1728d36bb03f8b84f246f Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Tue, 3 Dec 2024 18:42:57 +0100 Subject: [PATCH] Fix malformed clang invocation in build_ext.run (#1884) The fix is, unsurprisingly, to not invoke clang at all, because we use Bazel to build everything anyway. This also means that we can drop the setuptools pin. --- pyproject.toml | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 14f173f9..338b0b90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools<73"] +requires = ["setuptools"] build-backend = "setuptools.build_meta" [project] diff --git a/setup.py b/setup.py index 69cc49da..53933508 100644 --- a/setup.py +++ b/setup.py @@ -77,7 +77,6 @@ class BuildBazelExtension(build_ext.build_ext): def run(self): for ext in self.extensions: self.bazel_build(ext) - super().run() # explicitly call `bazel shutdown` for graceful exit self.spawn(["bazel", "shutdown"])