quaint-telephone-89068
12/26/2022, 8:48 PM__defaults__(
all=dict(environment="local_linux"),
)
local_environment(
name="local_linux",
compatible_platforms=["linux_x86_64"],
fallback_environment="local_docker",
)
docker_environment(
name="local_docker",
image="python:3.9",
)
Command like ./pants tests :: on Mac OS systems run in docker, instead local system. But build artifacts (zip file) from python_google_cloud_function still build on local environment and cannot be used in docker container from same system, where it was build. Output from docker image (python:3.9-slim) with unpacked zip:
Found 1 distribution for psutil that do not apply:
1.) The wheel tags for psutil 5.8.0 are cp39-cp39-manylinux2010_x86_64 which do not match the supported tags of /usr/local/bin/python3.9:
cp39-cp39-manylinux_2_31_aarch64
Will be really good, if pants system support environment for build artifacts for AWS and GCP.
Pants version: 2.15.0rc0
pantsbuild/pants