The development dependency ppx_expect.v0.15.0 is incompatible with OCaml 5.
Expected Behavior
Running make dev-deps should install dev dependencies when OCaml 5 is installed.
Actual Behavior
Running make dev-deps with OCaml 5 installed will downgrade the compiler to version 4.something:
downgrade ocaml 5.1.0 to 4.13.0
Alternatively if the switch invariant requires OCaml 5, the package ppx_expect.v0.15.0 will fail to install, as it depends on OCaml < 5.
Reproduction
- Make an opam switch with OCaml 5
- Run
make dev-deps from the dune repo
The development dependency
ppx_expect.v0.15.0is incompatible with OCaml 5.Expected Behavior
Running
make dev-depsshould install dev dependencies when OCaml 5 is installed.Actual Behavior
Running
make dev-depswith OCaml 5 installed will downgrade the compiler to version 4.something:Alternatively if the switch invariant requires OCaml 5, the package
ppx_expect.v0.15.0will fail to install, as it depends on OCaml < 5.Reproduction
make dev-depsfrom the dune repo