Support Postgress Adaptor "psycopg2" in python_pip workflow
- Vorherrschende Sprache
- Python
- Sterne
- 380
- Forks
- 161
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
**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)**
Beitragsleitfaden
Rechercherichtung
Beginne damit, den python_pip-Workflow zu finden und nachzuverfolgen, wie Abhängigkeiten mit nativen Bibliotheken für AWS Lambda erstellt werden. Vergleiche sein aktuelles Verhalten mit dem verlinkten psycopg2-Lambda-Workaround und definiere und verifiziere anschließend eine erfolgreiche Paketierung für psycopg2; das Issue enthält keine benannten Dateien oder auszuführenden Tests.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, python
- Bereich
- build-system, cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100