psycopg2-lambda-layer icon indicating copy to clipboard operation
psycopg2-lambda-layer copied to clipboard

Support Python 3.9

Open quiver opened this issue 4 years ago • 13 comments
trafficstars

AWS Lambda supports Python 3.9 in all regions where Lambda is available from Mid August 2021.

AWS Lambda adds support for Python 3.9

Can you consider to provide 3.9 Layers?

quiver avatar Sep 09 '21 13:09 quiver

Sure, what region do you need it in?

revmischa avatar Sep 09 '21 16:09 revmischa

Sure, what region do you need it in?

eu-central-1

quiver avatar Sep 09 '21 17:09 quiver

Can I throw a vote / request behind us-west-2 ? 🙏 Thank you !

bahoo avatar Sep 10 '21 03:09 bahoo

I think supporting all regions as 3.8 from the start will decrease your workload.

quiver avatar Sep 10 '21 05:09 quiver

Might need to wait for docker.io/lambci/lambda:build-python3.9 to exist https://hub.docker.com/r/lambci/lambda/tags?page=1&ordering=last_updated

revmischa avatar Sep 10 '21 06:09 revmischa

There exists an issue for lambci/lambda:build-python3.9 support.

lambci/docker-lambda#348

quiver avatar Sep 29 '21 09:09 quiver

Can we now get the support for python 3.9 of this layer is us-east-2?

Malikx-Alee avatar Dec 17 '21 13:12 Malikx-Alee

We need a docker image to build it with. See https://github.com/lambci/docker-lambda/pull/348 Feel free to send a PR with support for 3.9

revmischa avatar Dec 26 '21 14:12 revmischa

Support for python 3.9 us-east-2 would be appreciated

jpb8 avatar Dec 27 '21 13:12 jpb8

eu-west-3 please 🙏 Thank you !

hassanejaz avatar Mar 16 '22 16:03 hassanejaz

The lambci repository has been inactive, but there is a fork with python3.9 support at https://github.com/mLupine/docker-lambda (discussed here https://github.com/lambci/docker-lambda/issues/353#issuecomment-943301567). Could that be just switched in instead?

samunstein avatar Apr 21 '22 05:04 samunstein

The lambci repository has been inactive, but there is a fork with python3.9 support at https://github.com/mLupine/docker-lambda (discussed here lambci/docker-lambda#353 (comment)). Could that be just switched in instead?

That should be sufficient. I've used that specific one for python 3.9 in AWS lambdas w/ successful results

mswezey23 avatar Jun 05 '22 00:06 mswezey23

Cool, I invite anyone to fork this and build for 3.9. Open a PR with your lambda layer ARNs.

revmischa avatar Jun 05 '22 00:06 revmischa

New layers:

      # py 3.9:
      - arn:aws:lambda:us-east-1:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:us-west-1:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:us-west-2:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:ca-central-1:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:eu-west-1:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:eu-west-2:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:eu-west-3:898466741470:layer:psycopg2-py39:1
      - arn:aws:lambda:eu-central-1:898466741470:layer:psycopg2-py39:1

revmischa avatar Jan 20 '24 03:01 revmischa