Skip to content

Conversation

@smorimoto
Copy link
Member

No description provided.

@smorimoto smorimoto added the enhancement New feature or request label Apr 18, 2025
@smorimoto smorimoto force-pushed the opam-2.4 branch 2 times, most recently from 8ec27ca to c979452 Compare April 19, 2025 12:21
@smorimoto smorimoto force-pushed the opam-2.4 branch 2 times, most recently from b97be6b to f9b1f9a Compare May 11, 2025 21:39
@kit-ty-kate
Copy link
Member

Is this PR waiting for anything in particular from opam? It would be great to be able to test opam 2.4 in setup-ocaml

@smorimoto
Copy link
Member Author

You can pull the opam 2.4 beta without waiting for this release. This was a change for the official release of opam 2.4.

@smorimoto smorimoto marked this pull request as ready for review July 18, 2025 09:49
Signed-off-by: Sora Morimoto <sora@morimoto.io>
Signed-off-by: Sora Morimoto <sora@morimoto.io>
Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto merged commit f20f44b into master Jul 19, 2025
18 checks passed
@smorimoto smorimoto deleted the opam-2.4 branch July 19, 2025 19:28
@davesnx
Copy link

davesnx commented Jul 22, 2025

I discovered an issue by having setup-ocaml@3 breaking my instalation since one package depends on opam, and I wondered if those opam updates should be major versions in setup-ocaml?

@smorimoto
Copy link
Member Author

Can you explain the issue more specifically? This should not break anything as long as you use the workflow we recommend.

@davesnx
Copy link

davesnx commented Jul 22, 2025

  • in our ci we used setup-ocaml@3 in reason-react
  • reason-react depends on opam-check-npm-deps https://github.com/ahrefs/opam-check-npm-deps
  • at the time of the error reported below, we depend on opam-check-npm-deps.3.0.1 which is available only opam-version >= "2.3" & opam-version < "2.4"

https://github.com/reasonml/reason-react/actions/runs/16439383014/job/46456359814

Running the CI after setup-ocaml@3.4.0 was released broke the build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants