aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
255 stars 72 forks source link

Relax simplejson dependency and keep it backwards compatible #152

Closed m-rph closed 4 weeks ago

m-rph commented 1 month ago

Fixes: #147

Description of changes:

Simplejson had a breaking change from 3.18.4 (existing) going to 3.19 where the default behaviour of the JSONEncoder changed with respect to NaN handling. We address that in a backwards compatible way by passing allow_nan=True.

Target (OCI, Managed Runtime, both): both

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.