diff --git a/dune-project b/dune-project index 806f6a44c..7b59875c6 100644 --- a/dune-project +++ b/dune-project @@ -56,7 +56,7 @@ possible and does not make any assumptions about IO. ordering dune-build-info spawn - (odoc-parser (>= 2.0.0)) + (odoc-parser (and (>= 2.0.0) (< 2.3.0))) (ppx_expect (and (>= v0.15.0) :with-test)) (ocamlformat (and :with-test (= 0.24.1))) (ocamlc-loc (>= 3.7.0)) diff --git a/ocaml-lsp-server.opam b/ocaml-lsp-server.opam index 3589fa7bf..3288109c9 100644 --- a/ocaml-lsp-server.opam +++ b/ocaml-lsp-server.opam @@ -32,7 +32,7 @@ depends: [ "ordering" "dune-build-info" "spawn" - "odoc-parser" {>= "2.0.0"} + "odoc-parser" {>= "2.0.0" & < "2.3.0"} "ppx_expect" {>= "v0.15.0" & with-test} "ocamlformat" {with-test & = "0.24.1"} "ocamlc-loc" {>= "3.7.0"}