brief-engine-92399
10/01/2025, 7:06 PMpex_binary for ARM from x86_64 machines? I'm trying to setup a docker_environment for arm64, but am seeing the error:
NoFallbackEnvironmentError: The Docker environment `linux_arm` is specified in the `environment` field from the target <target>, but it cannot be used because the local host has the platform `linux_x86_64` and the Docker environment has the platform Platform.linux_arm64.
Consider setting the field `fallback_environment` for the target //:linux-py12-arm, such as to a `docker_environment` target that sets `platform` to `linux_x86_64`. Alternatively, consider not explicitly setting the field `platform` for the target //:linux-py12-arm because the default behavior is to use the CPU architecture of the current host for the platform (although this requires that the docker image supports that CPU architecture).
Using pants 2.24.1busy-ram-14533
10/02/2025, 6:51 PMcomplete_platforms option: https://www.pantsbuild.org/dev/docs/python/overview/pex#setting-the-target-platforms-for-a-pexbrief-engine-92399
10/02/2025, 11:22 PMbrief-engine-92399
10/03/2025, 5:15 AM