Skip to content

Running make dev-deps depends on OCaml 4 #8891

@gridbugs

Description

@gridbugs

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

  1. Make an opam switch with OCaml 5
  2. Run make dev-deps from the dune repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions