nice-rocket-49482
03/18/2024, 8:58 PMcomplete_platforms
option for pex_binary
, created a platform json file for the container environment, build the necessary wheel files (build inside the container) in the directory pointed by [python-repos]
. When I run pants package //:main
I get
stderr:
No pre-built wheel was available for pybedtools 0.9.1.
Successfully built the wheel pybedtools-0.9.1-cp39-cp39-macosx_11_0_arm64.whl from the sdist pybedtools-0.9.1.tar.gz but it is not compatible with the requested foreign target complete platform cp38-cp38-linux_x86_64.
You'll need to build a wheel from pybedtools-0.9.1.tar.gz on the foreign target platform and make it available to Pex via a `--find-links` repo or a custom `--index`.
Here is a minimalistic example that reproduces the issue https://github.com/vadzimra/pex-build-cross-platform
It looks like [python-repos]
config is not being used.
Is there a way to fix it or running Paints inside the container is the only option?
Thank you.bitter-ability-32190
03/19/2024, 11:14 AM--keep-sandboxes=on_error
and inspect the sandbox and the process args (__run.sh
) to see what's happeningnice-rocket-49482
03/19/2024, 4:16 PM