Deployment from arm64 Linux vendors arm64 dependencies
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.
ugh yes soo annoying
This issue came up for me when using chalice + layers https://github.com/numpy/numpy/issues/15669
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?...