From 8fcbb6aa92a88999314a1d4561936098475ad431 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Tue, 1 Oct 2024 15:07:52 +0200 Subject: [PATCH] opam: Add strict constraints on OCaml < 5.3 (#1201) --- odoc-parser.opam | 2 +- odoc.opam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/odoc-parser.opam b/odoc-parser.opam index e4fd20d853..4d0e0bd305 100644 --- a/odoc-parser.opam +++ b/odoc-parser.opam @@ -14,7 +14,7 @@ dev-repo: "git+https://github.com/ocaml/odoc.git" doc: "https://ocaml.github.io/odoc/odoc_parser" depends: [ "dune" {>= "3.7"} - "ocaml" {>= "4.02.0"} + "ocaml" {>= "4.02.0" & < "5.3"} "astring" "result" "camlp-streams" diff --git a/odoc.opam b/odoc.opam index 82575753f3..fc48a13534 100644 --- a/odoc.opam +++ b/odoc.opam @@ -45,7 +45,7 @@ depends: [ "cppo" {build & >= "1.1.0"} "dune" {>= "3.7.0"} "fpath" - "ocaml" {>= "4.02.0"} + "ocaml" {>= "4.02.0" & < "5.3"} "result" "tyxml" {>= "4.4.0"} "fmt"