From 46bc8bafb597adec6de46c7ea6f79be35881b42e Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Thu, 21 Jul 2022 15:48:50 -0400 Subject: [PATCH] Fix the python output name As of 61dd4d02047 ("[python] Split Python wheel in two separate wheels (#20054)") ninja will forever try to regenerate this file because the filename is specified incorrectly: ninja: Entering directory `out/debug' ninja explain: output linux_x64_gcc/controller/python/chip_repl-0.0-py3-any.whl doesn't exist ninja explain: linux_x64_gcc/controller/python/chip_repl-0.0-py3-any.whl is dirty ninja explain: output linux_x64_gcc/controller/python/chip_clusters-0.0-py3-any.whl doesn't exist ninja explain: linux_x64_gcc/controller/python/chip_clusters-0.0-py3-any.whl is dirty ninja explain: linux_x64_gcc/obj/src/controller/python/chip-repl.stamp is dirty ninja explain: linux_x64_gcc/obj/default.stamp is dirty ninja explain: obj/host_gcc.stamp is dirty ninja explain: obj/default.stamp is dirty [2/3] ACTION //src/controller/python:chip-clusters(//build/toolchain/host:linux_x64_gcc) Fix the filename. --- src/controller/python/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/python/BUILD.gn b/src/controller/python/BUILD.gn index 5297f0d2fba9c8..c9ee2fbd36820c 100644 --- a/src/controller/python/BUILD.gn +++ b/src/controller/python/BUILD.gn @@ -358,7 +358,7 @@ chip_python_wheel_action("chip-clusters") { py_package_name = "chip-clusters" py_platform_tag = "any" - output_name = "chip_clusters-${chip_python_version}-py3-any.whl" + output_name = "chip_clusters-${chip_python_version}-py3-none-any.whl" } chip_python_wheel_action("chip-repl") { @@ -406,5 +406,5 @@ chip_python_wheel_action("chip-repl") { ":chip-core", ] - output_name = "chip_repl-${chip_python_version}-py3-any.whl" + output_name = "chip_repl-${chip_python_version}-py3-none-any.whl" }