Open xncbf opened 3 years ago
How long it would take to support python 3.9? Currently I am using 3.9 lambda runtime. Is there any way to build myself?
would be great to have lambci/lambda:build-python3.9
available
You may want to switch to public.ecr.aws/sam/build-python3.9
images like the terraform-aws-lambda module did recently:
https://github.com/terraform-aws-modules/terraform-aws-lambda/commit/ecb38076b0408982183ebb8070aff7c7e01c4b82#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R466
public.ecr.aws/sam/build-3.9
Seems they dont have 3.9
either:
docker: Error response from daemon: repository public.ecr.aws/sam/build-3.9 not found: name unknown: The repository with name 'build-3.9' does not exist in the registry with id 'sam'.
@pdecat I switched to one of the fork as suggested in a merge request: mlupin/docker-lambda:python3.9-build
Sorry, meant public.ecr.aws/sam/build-python3.9
.
This is an official AWS image: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-image-repositories.html
@pdecat right sorry should have spotted the python missing as well, thansk!
Any further updates about python v3.9
?
I can confirm you can use the public.ecr.aws/sam/build-python3.9:latest
image in the same way as you did lambci/lambda:build-python3.8
I can confirm you can use the
public.ecr.aws/sam/build-python3.9:latest
image in the same way as you didlambci/lambda:build-python3.8
Just change public.ecr.aws/sam/build-python3.9:latest
, it well works! :D
Ref https://aws.amazon.com/blogs/compute/python-3-9-runtime-now-available-in-aws-lambda/