chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Deployment from arm64 Linux vendors arm64 dependencies

Open mathcolo opened this issue 2 years ago • 3 comments

It appears that deploying from arm64 Linux results in downloading of arm64 wheels when they exist (e.g. pandas). These don't work on an x86_64 lambda function (the default architecture), causing difficult-to-debug execution failure.

This is different from https://github.com/aws/chalice/issues/1808, but I imagine would probably be fixed by it.

https://github.com/aws/chalice/issues/1700 is also related.

mathcolo avatar Jun 22 '23 00:06 mathcolo

ugh yes soo annoying

spookyuser avatar Sep 28 '23 14:09 spookyuser

This issue came up for me when using chalice + layers https://github.com/numpy/numpy/issues/15669

BPDanek avatar Jan 05 '24 19:01 BPDanek

Thank you for opening this bug; it was causing me a lot of confusion especially since when deploying from my macbook (aarch64) it was selecting the correct x86_64 wheels. I guess for now the fix is to make sure our deployment happens on amd64 machine?...

fzakaria avatar Aug 02 '24 03:08 fzakaria