Initial commit of python-orjson
Dependency of anki
Differential D10852
Initial commit of python-orjson Staudey on Apr 11 2021, 6:16 PM. Authored by Tags None Referenced Files
Subscribers
Details
Initial commit of python-orjson Dependency of anki Built and ran anki with this version
Diff Detail
Event Timeline
Comment Actions @Staudey If patching it out is the difference between using our Rust and installing a nightly, absolutely patch it out. Comment Actions @DataDrake So I tried to patch it out but as it turns out it doesn't just depend on the nightly toolchain for the minor "mutable-noalias=yes" option, but in a more subtle way by using dependencies that require features of Rust nightly. Patching some of those features out went a little further, but now I have arrived at dependencies of dependencies that use nightly features, and also at a point where I can no longer guarantee that some of those nightly features aren't necessary for the proper function of python-orjson in some regard. Comment Actions @Staudey Would it make sense to target an older version of python-orjson which matches the nightly which eventually became our current Rust? Just considering options. Comment Actions So, since I either have to test and patch several very old orjson versions or download the rust nightly toolchain, I have decided to not package this after all. During my research I found out that anki includes a workaround for systems without orjson, and will work fine. pip will still complain about an unmatched dependency, but there should be no user-visible issue (and no issue ever manifested itself in my tests) Comment Actions
"Edit Related Revisions..." > "Edit Parent Revisions" |