Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion analysis.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.0.0"}
"odoc" {with-doc}
"lsp" {>= "1.23.0" & < "1.28.0"}
"lsp" {= "1.27.0"}
"jsonrpc" {= "1.27.0"}
"uutf" {= "1.0.4"}
"ppx_yojson_conv_lib" {>= "v0.16.0" & <= "v0.17.0"}
"yojson" {= "3.0.0"}
]
build: [
Expand Down
1 change: 1 addition & 0 deletions changes/pin-shipped-opam-deps.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Pin the exact versions of all OCaml libraries linked into the release binaries, so every platform builds with the same versions whenever its opam cache is rebuilt.
27 changes: 22 additions & 5 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
dune
(ppxlib
(>= 0.38.0))
(ppx_deriving :build)
(ppx_deriving
(and :build (= 6.2.0)))
(ppx_gen_rec :build)
wtf8
(wtf8
(= 1.0.2))
(ocamlformat
(and :with-test (= 0.29.0)))
(yojson
Expand All @@ -36,6 +38,13 @@
(= 2.1.1))
(luv
(= 0.5.14+rescript.1))
; Linked into the build system through luv.
(ctypes
(= 0.24.0))
(integers
(= 0.8.0))
(stdlib-shims
(= 0.3.0))
(re
(= 1.14.0))
(ounit2
Expand All @@ -62,9 +71,17 @@
(>= 5.0.0))
(odoc :with-doc)
(lsp
(= 1.27.0))
; Linked into the binaries through lsp.
(jsonrpc
(= 1.27.0))
(uutf
(= 1.0.4))
; v0.17.0 needs OCaml 5.1; the OCaml 5.0 CI job gets v0.16.0.
(ppx_yojson_conv_lib
(and
(>= 1.23.0)
(< 1.28.0)))
(>= v0.16.0)
(<= v0.17.0)))
(yojson
(= 3.0.0))))

Expand All @@ -75,7 +92,7 @@
(ocaml
(>= 5.0.0))
(cmarkit
(>= 0.3.0))
(= 0.4.0))
analysis
(yojson
(= 3.0.0))
Expand Down
7 changes: 5 additions & 2 deletions rescript.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ depends: [
"ocaml" {>= "5.0.0"}
"dune" {>= "3.17"}
"ppxlib" {>= "0.38.0"}
"ppx_deriving" {build}
"ppx_deriving" {build & = "6.2.0"}
"ppx_gen_rec" {build}
"wtf8"
"wtf8" {= "1.0.2"}
"ocamlformat" {with-test & = "0.29.0"}
"yojson" {= "3.0.0"}
"spawn" {= "v0.17.0"}
"cmdliner" {= "2.1.1"}
"luv" {= "0.5.14+rescript.1"}
"ctypes" {= "0.24.0"}
"integers" {= "0.8.0"}
"stdlib-shims" {= "0.3.0"}
"re" {= "1.14.0"}
"ounit2" {with-test & = "2.2.7"}
"odoc" {with-doc}
Expand Down
2 changes: 1 addition & 1 deletion tools.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bug-reports: "https://github.com/rescript-lang/rescript-compiler/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.0.0"}
"cmarkit" {>= "0.3.0"}
"cmarkit" {= "0.4.0"}
"analysis"
"yojson" {= "3.0.0"}
"odoc" {with-doc}
Expand Down
Loading