From 027e7736a612ed351dc4a76f8bcd28861ebf4e13 Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Thu, 21 Jul 2022 17:48:18 -0400 Subject: [PATCH] Fix the python output name (#21073) 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 6e8c612c6e2e2a..3baf852afba26c 100644 --- a/src/controller/python/BUILD.gn +++ b/src/controller/python/BUILD.gn @@ -359,7 +359,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") { @@ -407,5 +407,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" }