kennethreitz / records

SQL for Humans™
https://pypi.python.org/pypi/records/
ISC License
7.16k stars 572 forks source link

yaml missing dependency when deploying to AWS Lambda #111

Closed andykohn closed 7 years ago

andykohn commented 7 years ago

I'm trying to use records for my Lambda function. I added to my requirements.txt: records==0.5.0, but when I deploy to lambda, I get the following error: Unable to import module 'app': No module named 'yaml'

I don't use yaml at all, and if I remove records, and use psycopg2 directly, the lambda function works. Is there any dependency missing that I need to add manually?

andykohn commented 7 years ago

I found the issue is not related to records, but it's related to not being able to deploy sqlalchemy to AWS lambda. I'm following up with them.