aws / aws/chalice

Deployment from arm64 Linux vendors arm64 dependencies

Open
#2,048 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by comparing this report with issues 1808 and 1700, then trace how deployment from arm64 Linux selects dependencies for the default x86_64 Lambda architecture. Done means an arm64 deployment does not package incompatible arm64 wheels for an x86_64 Lambda function, with the relevant deployment behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.