enough-analyst-54434
11/10/2019, 5:43 PMpex --platform
or the equivalent python_binary.platforms
BUILD configuration from Pants, please consider reading and chiming in on https://github.com/pantsbuild/pex/issues/781#issuecomment-552215761
TLDR: I'd like to remove pex support for inexact platforms like --platform=linux-x86_64
and require exact platforms like --platform=linux-x86_64-cp-27-mu
. If inexact platforms like linux-x86_64
are desired, I'd like to move support for those up into Pants or local Pants customizations through target/target macro plugins.rough-minister-58256
11/12/2019, 4:45 AMI’d also like to yank the --manylinux flag from the cli since that is the equivalent of just specifying an explicit platform like manylinux2010-x86_64-cp-36-m instead of linux-x86_64-cp-36-m.
rough-minister-58256
11/12/2019, 4:45 AMrough-minister-58256
11/12/2019, 4:46 AMrough-minister-58256
11/12/2019, 4:48 AMrough-minister-58256
11/12/2019, 4:50 AMenough-analyst-54434
11/13/2019, 11:38 PMIIRC, the platform in any manylinux resolution case is always e.g. linux-x86_64 - it just expands to also consider manylinux bins if the system is deemed manylinux compatible.Yes. If used correctly, the manylinux compatible bit should be flagged on by appropriate local system checks. If, however, we're resolving for a foreign platform, compatibility is unknowable except by the user. They must say: trust me, manylinux1 compatible (or manylinux2010 compatible, or...). So they must say this in the exact platfrom string and the bool is simply not suitable.
enough-analyst-54434
11/13/2019, 11:40 PMrough-minister-58256
11/14/2019, 5:43 AMrough-minister-58256
11/14/2019, 5:44 AMrough-minister-58256
11/14/2019, 5:46 AM--platform=manylinux-x86_64
as a flag and expect it to match e.g. linux-x86_64
bins as well. maybe it should have tho? unclear - just sharing my mental view.rough-minister-58256
11/14/2019, 5:47 AMrough-minister-58256
11/14/2019, 5:50 AMrough-minister-58256
11/14/2019, 5:50 AMenough-analyst-54434
11/14/2019, 7:57 PM