-
Notifications
You must be signed in to change notification settings - Fork 57
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
Adapt to use Yojson 2.0 API (retry #299) #311
Conversation
It uses `Seq` instead of `Stream` so the compatibility package can be dropped. Likewise it uses `Buffer` instead of biniou, so the generator code needs to be adapted.
I confirm that the fix ocaml-community/yojson#150 works:
|
Any blockers left? Any help needed to get this merged and released? |
We're waiting for yojson 2.0.2 to be released, which fixes a bug in a function that's used by atdgen-generated code only and wasn't tested in yojson (ocaml-community/yojson#150). |
I just fixed the dependencies on yojson >= 2.0.2 in the opam files. This should be the last remaining error, based on manual testing I did earlier. Once yojson 2.0.2 or 2.1.0 is released, we will re-run the CI jobs and everything should be green at that point. |
I had hoped to get ocaml-community/yojson#147 merged before releasing 2.0.2 but oh well, might as well do the release today. |
2.0.2 released and waiting to get merged to OPAM-Repository: ocaml/opam-repository#21960 |
Nice, thanks for the work. Let's hope that it'll stick this time :-)
|
This branch should be equivalent to the original #299 by @Leonidas-from-XIV which got merged and then unmerged from
master
.We're now waiting for a test to pass, which depends on a fix in yojson. Once yojson 2.0.2 is available, this should be good to merge. We have to run
make test
manually if the CI pipeline is broken due to problems with opam package versions.PR checklist
CHANGES.md
is up-to-date