aws / aws/aws-lambda-builders

Support Postgress Adaptor "psycopg2" in python_pip workflow

オープン
#45 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/workflow/python_pip maintainer/need-response
主要言語
Python
スター
380
フォーク
161
平均マージ
1日 1時間
マージ済み PR(30日)
2

説明

**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)**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず python_pip ワークフローを見つけ、ネイティブライブラリを含む依存関係が AWS Lambda 用にどのようにビルドされるかを追跡します。現在の動作を、リンクされている psycopg2 の Lambda 回避策と比較し、そのうえで psycopg2 のパッケージングを成功させるための定義と検証を行います。この issue には、名前が指定されたファイルや実行すべきテストはありません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
build-system, cloud
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。