#19872 pants does not honor `local_environment` fallback when executing `generate-lockfiles` goal
Issue created by
kingjamm72
Describe the bug
When running the generate_lockfiles goal the execution does not honor the fallback property defined for the local_environment. Specifically we have a docker_environment which is defined as the fallback for the local_environment which we have configured to only be valid for the linux_x86_64 runtime. This is because compiler setup and other build requirements are not tenable in the local MacOS environment. The expected behavior is to have the local environment fallback to the docker linux_x86_64 runtime if the platform for the local_environment does not match.
Pants version
Pants v2.17.0
OS
MacOS x86_64 on Ventura 13.5.2
Additional info
See attached:
example.zip
pantsbuild/pants