rhythmic-church-81435
04/28/2025, 6:33 AMcomplete_platforms. This worked fine with Pants version 2.23.0.
After upgrading to 2.25 (or 2.24), it fails with the following error:
08:21:00.01 [ERROR] 1 Exception encountered:
Engine traceback:
in `run` goal
ProcessExecutionFailure: Process 'Building 1 requirement for src/pex.pex from the python-default.lock resolve: MarkupSafe==3.0.2' failed with exit code 1.
stdout:
stderr:
No pre-built wheel was available for MarkupSafe 3.0.2.
Successfully built the wheel markupsafe-3.0.2-cp311-cp311-linux_x86_64.whl from the sdist markupsafe-3.0.2.tar.gz but it is not compatible with the requested foreign target complete platform cp311-cp311abi3-manylinux_2_35_aarch64.
You'll need to build a wheel from markupsafe-3.0.2.tar.gz on the foreign target platform and make it available to Pex via a `--find-links` repo or a custom `--index`.
Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
Is it now required to pre-build all necessary wheels or is it possible to configure it to behave like before?
Here's a link to a demo repository with my pants.toml config and the complete_platforms files: https://github.com/krylowicz/pants-wheels-issuesquare-psychiatrist-19087
04/28/2025, 7:51 AMrhythmic-church-81435
04/28/2025, 8:15 AMhappy-kitchen-89482
04/28/2025, 9:25 AMhappy-kitchen-89482
04/28/2025, 9:29 AMhappy-kitchen-89482
04/28/2025, 9:29 AMhappy-kitchen-89482
05/04/2025, 12:10 PMrhythmic-church-81435
05/04/2025, 12:11 PM