File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ jobs:
1616 - name : Set up Python
1717 uses : actions/setup-python@v5
1818 with :
19- python-version : ' 3.x '
19+ python-version : ' 3.12 '
2020
2121 - name : Install AWS SAM CLI
2222 run : pip install aws-sam-cli
2323
2424 - name : Build with SAM
25- run : sam build --use-container
25+ run : |
26+ # Ensure we're using the correct platform for Lambda
27+ export DOCKER_DEFAULT_PLATFORM=linux/amd64
28+ sam build --use-container --build-image public.ecr.aws/sam/build-python3.12:latest
29+ echo "Checking for compiled extensions..."
30+ find .aws-sam/build -name "*.so" -exec file {} \;
2631
2732 - name : Zip the contents
2833 id : zip
Original file line number Diff line number Diff line change 11boto3 == 1.34.51
22botocore == 1.34.51
3+ pydantic-core >= 2.23.2 ,< 3.0.0
4+ pydantic >= 2.5.0 ,< 3.0.0
35pyiceberg [s3fs,glue ]
46pandas
57typing_extensions
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Resources:
2020 Properties :
2121 CodeUri : lambda/
2222 Handler : app.lambda_handler
23- Runtime : python3.9
23+ Runtime : python3.12
2424 Policies :
2525 - CloudWatchPutMetricPolicy : {}
2626 - AWSLambdaBasicExecutionRole
You can’t perform that action at this time.
0 commit comments