Closed Polsaker closed 8 months ago
Unfortunately this is deliberate because the required dependencies (specifically ring
) don't compile on linux aarch64, so we leave them out:
I just triggered a CI run that tries to include the ring
dependency so you can see https://github.com/kevinheavey/solders/actions/runs/8264519529/job/22608292459?pr=87
Even more annoying is that we don't even need that code, but a bunch of Solana crates depend on reqwest
when they really shouldn't. For example solana-account-decoder depends on solana-config-program
which indirectly depends on reqwest
:(
Maybe it would be better not to offer aarch64 wheels then? So pip install can at least attempt to build locally by default.
For us forcing pip to build locally worked just fine (it just added a few minutes to all our pipelines 🙃)
Oh that's weird that it compiles for you on Linux aarch64 right? Since it doesn't compile in CI
If it helps at all our CI runs on aws graviton boxes and for this particular case in a container with the python:3.12
image where we installed stable-aarch64-unknown-linux-gnu rust 1.76.0. Then we just did a poetry install and it worked
Thanks for the info, that led me to discover there actually was a way to get ring
to compile in CI. Fixed by #87
Hello, testing this lib on an ARM machine I'm getting the following error (this is not happening on an x86 container):
Checking the wheel files on PyPI you can notice that the aarch64 wheels are suspiciously smaller than the wheels for other archs: