-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SimpleJson release broke Chalice release #1304
Comments
You can work around this issue by adding
to your requirements.txt |
simplejson handles pushing JSON to DynamoDB better than the built in json package. Boto3 keeps throwing back integers as Decimal, which makes the built in json package barf. |
Thanks for the report I'll look into it. |
Relabled as bug and I have a PR to fix it up. I am surprised this didn't get reported sooner! I guess case 3 (from the commit message) is much less common than I would expect. Thanks for reporting this. |
I went to run a chalice release of my code this morning and it will deploy but not . run because of a 502 error.
I get this message during deploy:
It ends up that last night a new release of simplejson was released and apparently it breaks the chalice deployment.
Not sure why we need simplejson as there is a built in json, (probably because simplejson is faster)
Also not sure why we are auto using the latest version. We should use specific version and test each new version before using it so this doesn't happen.
The package installs and works fine so I am not sure why it is failing to install during deployment
The text was updated successfully, but these errors were encountered: