From e56b9f4b2dd953ab9f74d3884d973affa0167c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Tue, 24 Jun 2025 15:16:18 +0200 Subject: [PATCH] Fix yojson constraint --- dune-project | 4 ++-- lsp.opam | 2 +- ocaml-lsp-server.opam | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dune-project b/dune-project index 8c1d67e8e..9f20b4124 100644 --- a/dune-project +++ b/dune-project @@ -31,7 +31,7 @@ possible and does not make any assumptions about IO. ") (depends (jsonrpc (= :version)) - yojson + (yojson (< 3.0.0)) (ppx_yojson_conv_lib (>= "v0.14")) (cinaps :with-test) (ppx_expect (and (>= v0.17.0) :with-test)) @@ -45,7 +45,7 @@ possible and does not make any assumptions about IO. (synopsis "LSP Server for OCaml") (description "An LSP server for OCaml.") (depends - yojson + (yojson (< 3.0.0)) (base (>= v0.16.0)) (lsp (= :version)) (jsonrpc (= :version)) diff --git a/lsp.opam b/lsp.opam index 2ae4b8101..955469ce0 100644 --- a/lsp.opam +++ b/lsp.opam @@ -25,7 +25,7 @@ bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" depends: [ "dune" {>= "3.0"} "jsonrpc" {= version} - "yojson" + "yojson" {< "3.0.0"} "ppx_yojson_conv_lib" {>= "v0.14"} "cinaps" {with-test} "ppx_expect" {>= "v0.17.0" & with-test} diff --git a/ocaml-lsp-server.opam b/ocaml-lsp-server.opam index 8710e83ff..8cfaf16b4 100644 --- a/ocaml-lsp-server.opam +++ b/ocaml-lsp-server.opam @@ -20,7 +20,7 @@ homepage: "https://github.com/ocaml/ocaml-lsp" bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" depends: [ "dune" {>= "3.0"} - "yojson" + "yojson" {< "3.0.0"} "base" {>= "v0.16.0"} "lsp" {= version} "jsonrpc" {= version}