-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Yojson 2 constraints #21475
Yojson 2 constraints #21475
Conversation
Thanksa lot! |
@c-cube I know it is archived but it looks like the tarball of |
I got it from the opam cache, I'll deal with it separately |
I think this may be full of lower-bound issues. I suggest not to bother with them now unless there is something trivial to fix. I will try to solve them separately in subsequent PRs |
@Leonidas-from-XIV I think the opam-repo should be updated to use https://github.com/c-cube/cconv/archive/refs/tags/0.2.tar.gz if it's not in sync. |
The tags are brittler than the archives. I am not sure why the md5 of the archive is changed to be honest, it used to work until recently |
The code needs at least version 0.2.0 of rresult for `>>=` and it needs at least 0.3.0 for `rresult` to use the `result` compatibility package to define a `result` type that is compatible with the stdlib `result` type. Discovered via the minimum-version checks of ocaml/opam-repository#21475
@mseri Ok, I fixed the whole rat-tail of minimum version failures, but there's some leftover failures like |
Thanks a lot. I will have a look at this PR tomorrow and most likely merge it. After that we can try the yojson PR again |
Great, let me know when to rebase and squash all the fixup commits. I let it like this for now so the links to the CI would work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks a lot
It fails with the message that it requires dune 1.1.
4.2 apparently uses ocaml-migrate-parsetree so probably works as a minimum.
mybuild does not have a version released 4 on OPAM (it exists as git tag though) but 5 exists and the solver will pick this.
15b6c37
to
c3c82a9
Compare
Ok, I rebased and squashed the constraint-adding commits into one as well as the respective |
This PR is (collecting) the Yojson 2.0.0 maximum constraints that are being revealed by the revdeps of #21460. I'll try to open PRs to the upstream projects which are affected so future releases will support newer Yojson versions again.