Replies: 1 comment
-
Hard to say but you can debug it futher by using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building a wheel for the cryptography package for linux/arm/v7. cryptography is partly written in rust and uses maturin to compile the rust code. When installing the maturin dependency, for some reason, it sometimes finds and uses a wheel, but other times compiles it from source.
Here's a Dockerfile I'm experimenting with:
And I build it like so:
In the output I sometimes see:
But other times:
This is a problem for me because compiling maturin from source for linux/arm/v7, using QEMU emulation is slow. On my local system (Intel 9700K, 8 cores):
But it's worse when running in GitHub Actions (4 cores, not sure what CPU). The project I'm working on sometimes builds in ~40 minutes, but other times times out after 6 hours. I'm not 100% sure the 6 hours are spent building maturin, but I suspect it's at least a contributing factor.
Any tips what is going here, why does pip find and use a wheel only sometimes?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions