<#22247 Restore `pex_binary` `resolve_local_platfo...
# github-notifications
c
#22247 Restore `pex_binary` `resolve_local_platforms` due to use with `complete_platforms` Issue created by huonw Describe the bug We had a mistaken impression about the behaviour of the
--resolve-local-platforms
PEX flag, where we assumed it only applied for the
--platform
flag, but it is actually also used for `--complete-platform`: #20823 (comment) We should thus consider restoring it by reverting #21416. (Possible work-around: providing the flag via `extra_build_args=["--resolve-local-platforms"]`: https://www.pantsbuild.org/stable/reference/targets/pex_binary#extra_build_args) Pants version 2.24.0 onwards (#21416) OS All Additional info N/A pantsbuild/pants