strong-answer-14518
04/25/2022, 1:49 PMBootstrapping Pants using /usr/bin/python3.9
Creating the virtualenv PEX.
Downloading the Pex PEX.
SHA256 fingerprint of <https://github.com/pantsbuild/pex/releases/download/v2.1.62/pex> verified.
Installing pantsbuild.pants==2.10.0 into a virtual environment at /root/.cache/pants/setup/bootstrap-Linux-aarch64/2.10.0_py39
I supposed that makes sense since Linux with ARM is not supported yet. However, as indicated here and here, I’ve tried to build from sources with both ./pants package src/python/pants:pants-packaged
and build-support/bin/release.sh -q
but rust won’t compile some modules (tokio v1.16.1 or reqwest v0.11 with rust v1.60). Do you guys know if that might be related to versions compatibility or is it something inherent to Linux on ARM?witty-crayon-22786
04/25/2022, 4:50 PMI’ve tried to build from sources with boththat’s surprising! no, we haven’t heard about that. commenting on https://github.com/pantsbuild/pants/issues/12183 to that effect would be helpfuland./pants package src/python/pants:pants-packaged
but rust won’t compile some modules (tokio v1.16.1 or reqwest v0.11 with rust v1.60). Do you guys know if that might be related to versions compatibility or is it something inherent to Linux on ARM? (edited)build-support/bin/release.sh -q
strong-answer-14518
05/27/2022, 9:45 AMERROR: No matching distribution found for pantsbuild.pants==2.11.0
, with latest version indicated beign 1.7.0
.
I’m trying to run this on a mac M1, in a container using arm64v8/debian image with the following specs: Linux 68462c3e6b73 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 aarch64 GNU/Linux
. I’ve seen post suggesting to remove the cache and add few environment variables related to python but it didn’t help.witty-crayon-22786
05/27/2022, 4:32 PM