-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local start-api does not install requirements #1414
Comments
@chrisz100 Thank you for the report. Currently, |
Closing, as this is currently by design and we have two other issues tracking improvements to the build flow that could unlock building before invoke automatically. |
|
+1 |
Description
Using local start-api does error me with uninstalled dependencies with python 3.7
When I run sam build and sam local start-api after it works, but it then requires me to always test, stop the api, re-run sam build and restart sam local start-api
Steps to reproduce
sam local start-api
Observed result
Expected result
I expect it to download the requirements.txt before calling the api.
Alternatively it should respect the code changes whilst this function is running when having to use
sam build
to install dependencies.Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 0.21.0The text was updated successfully, but these errors were encountered: