From 2611efb8362b0535010378c2c52fcfdebfc2712c Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Fri, 20 Mar 2026 13:22:18 +0100 Subject: [PATCH] opam: Bump the minimum OCaml version to 4.14 This was caught by opam-repository CI and caused by the vendored modules from the compiler's source. --- dune-project | 4 ++-- ocamlformat-lib.opam | 2 +- ocamlformat.opam | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dune-project b/dune-project index 10c2b76a74..c3572e2781 100644 --- a/dune-project +++ b/dune-project @@ -41,7 +41,7 @@ "OCamlFormat is a tool to automatically format OCaml code in a uniform style.") (depends (ocaml - (>= 4.08)) + (>= 4.14)) (alcotest (and :with-test @@ -94,7 +94,7 @@ "**ocamlformat** is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style.\n\n- **Profiles:** ocamlformat offers profiles we predefined formatting configurations. Profiles include `default`, `ocamlformat`, `janestreet`.\n- **Configurable:** Users can change the formatting profile and configure every option in their `.ocamlformat` configuration file.\n- **Format Comments:** ocamlformat can format comments, docstrings, and even code blocks in your comments.\n- **RPC:** ocamlformat provides an RPC server that can be used by other tools to easily format OCaml Code.") (depends (ocaml - (>= 4.08)) + (>= 4.14)) (cmdliner (or (and diff --git a/ocamlformat-lib.opam b/ocamlformat-lib.opam index e72e99be38..bff1c298e8 100644 --- a/ocamlformat-lib.opam +++ b/ocamlformat-lib.opam @@ -18,7 +18,7 @@ authors: [ homepage: "https://github.com/ocaml-ppx/ocamlformat" bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues" depends: [ - "ocaml" {>= "4.08"} + "ocaml" {>= "4.14"} "alcotest" {with-test & >= "1.3.0"} "base" {>= "v0.12.0"} "cmdliner" {>= "1.1.0"} diff --git a/ocamlformat.opam b/ocamlformat.opam index 24bd11c530..b23201bbe2 100644 --- a/ocamlformat.opam +++ b/ocamlformat.opam @@ -23,7 +23,7 @@ authors: [ homepage: "https://github.com/ocaml-ppx/ocamlformat" bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues" depends: [ - "ocaml" {>= "4.08"} + "ocaml" {>= "4.14"} "cmdliner" {with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"} "csexp" {>= "1.4.0"} "dune" {>= "2.8"}