lambci / docker-lambda

Docker images and test runners that replicate the live AWS Lambda environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need support for python3.9

xncbf opened this issue · comments

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:
terraform-aws-modules/terraform-aws-lambda@ecb3807#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

@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 did lambci/lambda:build-python3.8

Just change public.ecr.aws/sam/build-python3.9:latest, it well works! :D

Ref : https://gallery.ecr.aws/sam/build-python3.9