[FEATURE] remove ujson dependency (it is dead)
See original GitHub issueFastAPI is using ujson
which has not been actively developed for about 3 years by now. Here is a relevant issue. It’s starting to be problematic to actually compile ujson
on newer platforms.
Possible alternative maybe orjson
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Conda Build and Finding Conflicts - python - Stack Overflow
When I use conda build with a meta.yaml file similar to what is shown in python 3.9 the build fails due to dependency...
Read more >udata - Python Package Health Analysis | Snyk
A security vulnerability was detected in an indirect dependency that is added to your project when the latest version of udata is installed....
Read more >e42b3e385822fc1b08807a585d...
... mutter: initial add 3.34.1 pinpoint: remove dead project gnome-keyring: ... x11 to required distro feature projucer: add x11 to required distro features...
Read more >What's New - Oracle Linux Yum Server
libsolv-0.7.20-4.el8_7 - Package dependency solver (Update) ... rust-rand0.6-0.6.5-9.el9 - Random number generators and other randomness functionality (New) ...
Read more >micropython-ChangeLog.txt
resource_stream() function is also removed, replaced by the pure Python version in micropython-lib. The search order for importing frozen Python modules is now ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would be in favor of recommending
orjson
instead ofujson
.I recall the creator of
orjson
reaching about this many months ago and there was some confusion due to slow responses, and also some issues on the pydantic side, but I think many/most of the barriers to usage have since been removed. Iforjson
seems to be taking over as the go-to high-performance json library, I think it would make sense to use that for development and recommend it.To the extent that there is any difference in json encoding/decoding between json and orjson (or ujson and orjson), it would probably be best to document it.
I’d be willing to review a PR making this change (including updates to the docs). (I’d leave the ultimate decision about merging to @tiangolo though.)
@ahmadazizi,
orjson
wheels are now available also for Windows Python 3.9.