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

Yojson 2 constraints #21475

Merged
merged 35 commits into from
Jun 8, 2022
Merged

Conversation

Leonidas-from-XIV
Copy link
Contributor

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.

@mseri
Copy link
Member

mseri commented Jun 6, 2022

Thanksa lot!

@Leonidas-from-XIV
Copy link
Contributor Author

@c-cube I know it is archived but it looks like the tarball of cconv.0.2 is messed up. Wonder whether to replace it with the one from the OPAM cache?

@mseri
Copy link
Member

mseri commented Jun 6, 2022

I got it from the opam cache, I'll deal with it separately

@mseri
Copy link
Member

mseri commented Jun 6, 2022

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

@c-cube
Copy link
Contributor

c-cube commented Jun 6, 2022

@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.

@mseri
Copy link
Member

mseri commented Jun 6, 2022

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

Leonidas-from-XIV added a commit to Leonidas-from-XIV/ocaml-graphql-server that referenced this pull request Jun 6, 2022
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
@Leonidas-from-XIV
Copy link
Contributor Author

@mseri Ok, I fixed the whole rat-tail of minimum version failures, but there's some leftover failures like obus.1.1.8 which is failing on… unclear what. Maybe ocamlfind? Maybe oasis? Do you have an idea?

@mseri
Copy link
Member

mseri commented Jun 7, 2022

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

@Leonidas-from-XIV
Copy link
Contributor Author

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.

Copy link
Member

@mseri mseri left a 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

@Leonidas-from-XIV
Copy link
Contributor Author

Leonidas-from-XIV commented Jun 8, 2022

Ok, I rebased and squashed the constraint-adding commits into one as well as the respective fixup commits, to the list of commits should be reasonably clean. Only additional change was adding the constraints on the atd 2.8.0 release that happened after this PR was opened.

@mseri mseri merged commit 80d3d94 into ocaml:master Jun 8, 2022
@Leonidas-from-XIV Leonidas-from-XIV deleted the yojson-2-constraints branch June 9, 2022 07:30
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.

3 participants