From 02c3c5d07b732fbba5bbc553cd9905a7931e497b Mon Sep 17 00:00:00 2001 From: XuanWang-Amos <24593237+XuanWang-Amos@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:21:44 +0000 Subject: [PATCH] Automated change: Fix sanity tests --- tools/run_tests/artifacts/package_targets.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/run_tests/artifacts/package_targets.py b/tools/run_tests/artifacts/package_targets.py index ecbe4182a1e19..8cffe7b98106b 100644 --- a/tools/run_tests/artifacts/package_targets.py +++ b/tools/run_tests/artifacts/package_targets.py @@ -154,7 +154,6 @@ def __init__(self, platform="", arch=""): self.labels.append(arch) self.name += "_" + arch - def pre_build_jobspecs(self): return [] @@ -163,9 +162,13 @@ def build_jobspec(self, inner_jobs=None): # since the python package build does very little, we can use virtually # any image that has new-enough python, so reusing one of the images used # for artifact building seems natural. - dockerfile_dir = "tools/dockerfile/grpc_artifact_python_manylinux2014_x64" + dockerfile_dir = ( + "tools/dockerfile/grpc_artifact_python_manylinux2014_x64" + ) if "musllinux_1_1" in self.platform and "aarch64" in self.arch: - dockerfile_dir = "tools/dockerfile/grpc_artifact_python_musllinux_1_1_aarch64" + dockerfile_dir = ( + "tools/dockerfile/grpc_artifact_python_musllinux_1_1_aarch64" + ) return create_docker_jobspec( self.name, dockerfile_dir,