Skip to content
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

Remove simplejson dependency #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pechersky
Copy link

@pechersky pechersky commented Mar 23, 2025

Issue #, if available:

Description of changes:

Instead of relying on simplejson for decimal support implement decimal support directly

Remove the internal_json vs stock_json test comparison

Target (OCI, Managed Runtime, both): Managed runtime

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


Motivation:

When simplejson is installed, requests behaves differently https://github.com/psf/requests/blob/1764cc938efc3cc9720188dfa6c3852c45211aa0/src/requests/compat.py#L59-L64 which affects custom JSONEncode/Decoders

When simplejson is installed, `requests` behaves differently
https://github.com/psf/requests/blob/1764cc938efc3cc9720188dfa6c3852c45211aa0/src/requests/compat.py#L59-L64
which affects custom JSONEncode/Decoders

Instead of relying on simplejson for decimal support
implement decimal support directly

Remove the `internal_json` vs `stock_json` test comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant