Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Python 3.9 #43

Closed
bl-nkd-v opened this issue Aug 23, 2023 · 8 comments
Closed

Support for Python 3.9 #43

bl-nkd-v opened this issue Aug 23, 2023 · 8 comments

Comments

@bl-nkd-v
Copy link
Contributor

Regarding the PR that was merged yesterday, #42
Seems like the 3.9 version isn't yet available

Screenshot 2023-08-23 at 11 27 40 AM

(vs 3.8):
Screenshot 2023-08-23 at 11 28 16 AM

Will the layers for Python 3.9 be redeployed anytime soon? Running into issues with compiling my own psycopg2 lambda layers, and this would be extremely useful to have! The region I'm particularly interested in is us-west-1. Appreciate it!

@jpines-vi
Copy link
Contributor

I have the same in us-east-2.

@ToniB-M3ter
Copy link

anything for us-east-1?

@andrelmbraga
Copy link

Same here for us-east-1

@revmischa
Copy link
Member

revmischa commented Dec 8, 2023

I checked out master and ran:

❯ ./build.sh
+ set -e
+ rm -rf layer
+ docker build -t psycopg2-lambda-layer .
[+] Building 0.3s (3/3) FINISHED                                                                                                                                                                       docker:desktop-linux
 => [internal] load .dockerignore                                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                                        0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                   0.0s
 => => transferring dockerfile: 140B                                                                                                                                                                                   0.0s
 => ERROR [internal] load metadata for docker.io/lambci/lambda:build-python3.9                                                                                                                                         0.3s
------
 > [internal] load metadata for docker.io/lambci/lambda:build-python3.9:
------
Dockerfile:1
--------------------
   1 | >>> FROM lambci/lambda:build-python3.9
   2 |
   3 |     RUN pip install -t /opt/python/ psycopg2-binary
--------------------
ERROR: failed to solve: lambci/lambda:build-python3.9: docker.io/lambci/lambda:build-python3.9: not found

Would someone like to investigate and fix this? Maybe deploy it and post your layer ARNs?

@revmischa
Copy link
Member

Also please see: #31

@bilred
Copy link

bilred commented Jan 17, 2024

Same here for ca-central-1

@revmischa
Copy link
Member

I haven't tested it but I merged #45 and deployed some layers. LMK if they work for you. Thanks for your patience.

      # 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

@andrelmbraga
Copy link

Did not work for me:
- arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py39:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants