Skip to content

Commit

Permalink
Fix the python output name (#21073)
Browse files Browse the repository at this point in the history
As of 61dd4d0 ("[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.
  • Loading branch information
mspang authored and pull[bot] committed Oct 10, 2023
1 parent 5d5faa5 commit 1430196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/python/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down Expand Up @@ -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"
}

0 comments on commit 1430196

Please sign in to comment.