From c97f76074dc43e72f7dcb8026c2d323f6d020bc0 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Fri, 13 Dec 2024 18:15:21 +0100 Subject: [PATCH] Yojson is not a test-dependency Yojson is used by type_desc_to_yojson, which is a "private" library. Such libraries are installable and are built even when not running the tests. --- odoc.opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoc.opam b/odoc.opam index 66485b6395..3af537144a 100644 --- a/odoc.opam +++ b/odoc.opam @@ -51,7 +51,7 @@ depends: [ "fmt" "ocamlfind" {with-test} - "yojson" {>= "2.1.0" & with-test} + "yojson" {>= "2.1.0"} ("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test}) "conf-jq" {with-test}