You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like some way to set a flag, preferably per library, that disables downloading dependencies. The example I have is that I'm using the pynamodb library to interact with dynamodb, and when installing the library, it pulls in the entire botocore as a dependency. This pushes the lambda function over the size limit for editing in the console, which is quite annoying. Botocore is built into the lambda runtime, so pynamo doesn't need to install its own copy.
Hi @mew1033, you can use Makefile builder to build with sam build instead of using the bundled builder. Here's the docs link with more info. In the Makefile, you can include --no-deps flag for the pip install command to get what you are looking for.
I'd like some way to set a flag, preferably per library, that disables downloading dependencies. The example I have is that I'm using the pynamodb library to interact with dynamodb, and when installing the library, it pulls in the entire botocore as a dependency. This pushes the lambda function over the size limit for editing in the console, which is quite annoying. Botocore is built into the lambda runtime, so pynamo doesn't need to install its own copy.
See pynamodb/PynamoDB#1166
The text was updated successfully, but these errors were encountered: