Support Postgress Adaptor "psycopg2" in python_pip workflow
- Lingua principale
- Python
- Stelle
- 380
- Fork
- 161
- Merge medio
- 1g 1h
- PR unite (30g)
- 2
Descrizione
**Description:**
Customers using Postgress with Lamnbda in Python run into the problem where this library does not load in AWS Lambda. This is a build time problem and not a runtime one. AWS Lambda does not include necessary `libpq.so` file required by Postgress in the runtime. So people have to compile & statically link this library.
See: https://github.com/jkehler/awslambda-psycopg2
More: https://stackoverflow.com/questions/44855531/no-module-named-psycopg2-psycopg-modulenotfounderror-in-aws-lambda
**Steps to reproduce the issue:**
1.
2.
3.
**Observed result:**
**Expected result:**
**Additional environment details (Ex: Windows, Mac, Amazon Linux etc)**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il workflow python_pip e analizzando come vengono compilate per AWS Lambda le dipendenze con librerie native. Confronta il comportamento attuale con il workaround collegato per psycopg2 su Lambda, quindi definisci e verifica un packaging riuscito per psycopg2; l’issue non indica file specifici né test da eseguire.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, python
- Ambito
- build-system, cloud
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100