-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
blocked/more-info-neededMore info is needed from the requester. If no response in 14 days, it will become stale.More info is needed from the requester. If no response in 14 days, it will become stale.maintainer/need-followupplatform/linux/armstage/bug-reproThe issue/bug needs to be reproducedThe issue/bug needs to be reproduced
Description
I am trying to build a Lambda function using sam (1.36.0) within CodeBuild, the Lambda has arm64 architecture as well as the CodeBuild configuration (aws/codebuild/amazonlinux2-aarch64-standard:2.0).
Using Python 3.8.10
I have in my requirements.txt the dependencies below:
PyYAML
pandas
s3fs
xlsxwriter
CodeBuild throws error:
Build Failed
Error: PythonPipBuilder:ResolveDependencies - {wrapt==1.13.3(sdist)}
My build details:
version: 0.2
phases:
install:
runtime-versions:
python: 3.8
commands:
- which python
- python --version
- pip install aws-sam-cli --upgrade
- sam build --template $(pwd)/template.yaml
- aws cloudformation package --template $(pwd)/.aws-sam/build/template.yaml --s3-bucket XXXXX --s3-prefix PREFIX_PATH_DUMMY --output-template-file product.template-eu-west-1.yaml
- sam deploy --template-file ./product.template-eu-west-1.yaml --stack-name DUMMY --capabilities CAPABILITY_IAM
I also manually tested this on t4g Graviton instance, doing pip install requirements.txt, there it works. But when using CodeBuild it fails.
RajasGujarathi
Metadata
Metadata
Assignees
Labels
blocked/more-info-neededMore info is needed from the requester. If no response in 14 days, it will become stale.More info is needed from the requester. If no response in 14 days, it will become stale.maintainer/need-followupplatform/linux/armstage/bug-reproThe issue/bug needs to be reproducedThe issue/bug needs to be reproduced