Skip to content

Commit 9e32bb8

Browse files
authored
Fix yojson constraint (#1538)
1 parent 720fd2b commit 9e32bb8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dune-project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ possible and does not make any assumptions about IO.
3131
")
3232
(depends
3333
(jsonrpc (= :version))
34-
yojson
34+
(yojson (< 3.0.0))
3535
(ppx_yojson_conv_lib (>= "v0.14"))
3636
(cinaps :with-test)
3737
(ppx_expect (and (>= v0.17.0) :with-test))
@@ -45,7 +45,7 @@ possible and does not make any assumptions about IO.
4545
(synopsis "LSP Server for OCaml")
4646
(description "An LSP server for OCaml.")
4747
(depends
48-
yojson
48+
(yojson (< 3.0.0))
4949
(base (>= v0.16.0))
5050
(lsp (= :version))
5151
(jsonrpc (= :version))

lsp.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
2525
depends: [
2626
"dune" {>= "3.0"}
2727
"jsonrpc" {= version}
28-
"yojson"
28+
"yojson" {< "3.0.0"}
2929
"ppx_yojson_conv_lib" {>= "v0.14"}
3030
"cinaps" {with-test}
3131
"ppx_expect" {>= "v0.17.0" & with-test}

ocaml-lsp-server.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ homepage: "https://github.com/ocaml/ocaml-lsp"
2020
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
2121
depends: [
2222
"dune" {>= "3.0"}
23-
"yojson"
23+
"yojson" {< "3.0.0"}
2424
"base" {>= "v0.16.0"}
2525
"lsp" {= version}
2626
"jsonrpc" {= version}

0 commit comments

Comments
 (0)