quaint-telephone-89068
02/27/2023, 5:36 PMpex --lock case, Pex has a natural crease to attempt to build sdists into wheels, even for foreign platforms. In the "yolo" case, it can turn out the wheel does build successfully and is compatible with the foreign platform. This would allow the maximum possible set of platform and complete_platform builds to succeed. Only those that truly required pre-building the sdist into a wheel on the foreign platform would fail.
The standard (old) non-lockfile --platform resolve relies on Pip which rejects sdists and fails the pip download. That case can only be fixed by using --complete-platform instead, but that is the direction folks should move anyhow.
pantsbuild/pexuser
03/02/2023, 8:29 PM