quiet-evening-25363
02/24/2022, 5:27 PMplatforms
set to my current platform, which I'm looking up by running pex --help
on my local system. Building the pex with platforms
unset succeeds, but building the pex with the platform set to my system's string fails with a missing package error (pasted below). What would be the difference between running pants package
in these two ways?
ERROR: Could not find a version that satisfies the requirement grpc-google-iam-v1
ERROR: No matching distribution found for grpc-google-iam-v1
high-yak-85899
02/24/2022, 5:29 PMenough-analyst-54434
02/24/2022, 5:29 PMenough-analyst-54434
02/24/2022, 5:30 PMenough-analyst-54434
02/24/2022, 5:31 PMhundreds-father-404
02/24/2022, 5:31 PMA platform build assumes the platform is foreign and requires wheels:See the warning at https://www.pantsbuild.org/docs/awslambda-python#step-3-run-package for more about this
enough-analyst-54434
02/24/2022, 5:33 PM--resolve-local-platforms
flag which you can set up either in the pex_binary.resolve_local_platforms=True
bool field or else globally via [pex-binary-defaults] resolve_local_platforms = True
enough-analyst-54434
02/24/2022, 5:36 PMenough-analyst-54434
02/24/2022, 5:37 PMenough-analyst-54434
02/24/2022, 5:37 PM[python-repos]
.quiet-evening-25363
02/24/2022, 5:42 PM