-
Notifications
You must be signed in to change notification settings - Fork 363
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
slim_handler option broken #1342
Comments
I keep encountering this same issue when trying to deploy a django project. How did you fix yours if it was fixed |
@Maxiron I ended up running my application in Docker. |
Thank you |
This issue seems to be on Windows machines only, I can replicate on Windows 11 / Python 3.12. Setting slim_handler to False or using MacOS solves the issue. Turns out it's been a very long running issue #2145 |
Sigh! Wasted so much time to fix it. Turns out to be a windows issue. Any fix on this yet? |
Context
Unable to deploy or update a very simple hello_world Flask application when slim_handler is enabled. This has been a real pain since I have a single dependency that is >250mb, so I can't put it into a separate layer either.
Expected Behavior
slim_handler should not prevent deployment.
Actual Behavior
Following output is shown, I modified the paths for privacy reasons.
Possible Fix
Steps to Reproduce
py -3 -m venv .venv
.venv\Scripts\activate
pip install Flask
flask --app main run
to verify the simple hello world runs locally.zappa deploy dev
. This should work as expected.zappa update dev
, the update should now fail.Your Environment
pip freeze
:zappa_settings.json
:The text was updated successfully, but these errors were encountered: