silly-queen-7197
07/17/2023, 7:23 PMpex_binary(...environment="linux"...)
that gets copied into a docker_image
. Things work if I set
[environments-preview.names]
linux = "//:linux"
but if I add
[environments-preview.names]
local = "//:local"
linux = "//:linux"
I run into issues like The wheel tags for SQLAlchemy 1.4.27 are cp310-cp310-manylinux1_x86_64, cp310-cp310-manylinux_2_5_x86_64
. Why does adding another name to "environments-preview" override environment="linux"
in the pex target?
Another question, if I set environment=parametrize("local", "linux")
and foobar:cli@environment=linux
as a docker dependency, how should I reference it in the Dockerfile? I get failed to compute cache key: "/foobar/cli.pex" not found: not found
. There's nothing in https://www.pantsbuild.org/docs/docker#docker-configuration that references environments
I'm running pants v2.16silly-queen-7197
07/17/2023, 8:52 PMfoobar/cli@environment=linux.pex
silly-queen-7197
07/17/2023, 8:54 PMThe wheel tags for SQLAlchemy 1.4.27 are cp310-cp310-manylinux_2_5_x86_64, cp310-cp310-manylinux_2_17_x86_64, cp310-cp310-manylinux2014_x86_64, cp310-cp310-manylinux1_x86_64 which do not match the supported tags of /usr/local/bin/python3.10: