Skip to content

Conversation

@kit-ty-kate
Copy link
Member

Disclaimer: this is totally fine if this PR isn't merged.

I'm trying to upgrade to re 1.14.0 in opam itself and i was faced by the new lower-bound restriction on OCaml 4.13.
I needed to make a patch for us to be able to use it and i'm sharing it here in case anyone else faces the same issue.

I've split the commits in two as given the opam file expected OCaml >= 4.12 to work, i'm guessing dropping 4.12 wasn't intended.
The second commit backports to OCaml 4.08 with an implementation of atomics similar to the one added in OCaml 4.12: ocaml/ocaml@04d9c42

Feel free to take or drop any one of these commits

Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't accepting so long as you take on the responsibility for maintaining 4.08 compat and sending patches to keep it working.

@kit-ty-kate
Copy link
Member Author

so long as you take on the responsibility for maintaining 4.08 compat and sending patches to keep it working.

I'm happy to do that as long as opam depends on re and require OCaml >= 4.08 since we would have to have our own patch anyway.

@rgrinberg rgrinberg merged commit f472b38 into ocaml:master Sep 19, 2025
6 checks passed
@kit-ty-kate kit-ty-kate deleted the ocaml-4.08-backport branch September 19, 2025 19:47
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.

2 participants