From 7f9b7d7c8311656eb479bb3848a39850ba15367a Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 2 Apr 2026 13:52:42 -0400 Subject: [PATCH] fix opam --- dune-project | 24 ++++++++++++++++++++---- opentelemetry-client-cohttp-eio.opam | 2 ++ opentelemetry-client-ocurl-lwt.opam | 6 +++++- opentelemetry-client-ocurl.opam | 3 +++ opentelemetry.opam | 1 + 5 files changed, 31 insertions(+), 5 deletions(-) diff --git a/dune-project b/dune-project index 6a52ddcd..1883c056 100644 --- a/dune-project +++ b/dune-project @@ -31,6 +31,10 @@ hmap (odoc :with-doc) (alcotest :with-test) + (opentelemetry-client + (and + :with-test + (= :version))) (pbrt (and (>= 4.0) @@ -107,7 +111,10 @@ (ezcurl (>= 0.2.3)) ocurl - (alcotest :with-test)) + (alcotest :with-test) + (cohttp-lwt-unix :with-test) + (containers :with-test) + (logs :with-test)) (synopsis "Collector client for opentelemetry, using http + ezcurl")) (package @@ -126,10 +133,14 @@ (>= 0.2.3)) ocurl (lwt - (>= "5.3")) + (>= "5.7.3")) (lwt_ppx (>= "2.0")) - (alcotest :with-test)) + ambient-context-lwt + (alcotest :with-test) + (cohttp-lwt-unix :with-test) + (containers :with-test) + (logs :with-test)) (synopsis "Collector client for opentelemetry, using ezcurl-lwt")) (package @@ -227,5 +238,10 @@ (>= 2.0.1)) (alcotest :with-test) (containers :with-test) - (cohttp-lwt-unix :with-test)) + (cohttp-lwt-unix :with-test) + (logs :with-test) + (opentelemetry-lwt + (and + :with-test + (= :version)))) (synopsis "Collector client for opentelemetry, using cohttp + eio")) diff --git a/opentelemetry-client-cohttp-eio.opam b/opentelemetry-client-cohttp-eio.opam index 3621df6f..31772088 100644 --- a/opentelemetry-client-cohttp-eio.opam +++ b/opentelemetry-client-cohttp-eio.opam @@ -23,6 +23,8 @@ depends: [ "alcotest" {with-test} "containers" {with-test} "cohttp-lwt-unix" {with-test} + "logs" {with-test} + "opentelemetry-lwt" {with-test & = version} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry-client-ocurl-lwt.opam b/opentelemetry-client-ocurl-lwt.opam index ffabdaae..3587169f 100644 --- a/opentelemetry-client-ocurl-lwt.opam +++ b/opentelemetry-client-ocurl-lwt.opam @@ -16,9 +16,13 @@ depends: [ "odoc" {with-doc} "ezcurl-lwt" {>= "0.2.3"} "ocurl" - "lwt" {>= "5.3"} + "lwt" {>= "5.7.3"} "lwt_ppx" {>= "2.0"} + "ambient-context-lwt" "alcotest" {with-test} + "cohttp-lwt-unix" {with-test} + "containers" {with-test} + "logs" {with-test} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry-client-ocurl.opam b/opentelemetry-client-ocurl.opam index b27f19ed..f52efce0 100644 --- a/opentelemetry-client-ocurl.opam +++ b/opentelemetry-client-ocurl.opam @@ -17,6 +17,9 @@ depends: [ "ezcurl" {>= "0.2.3"} "ocurl" "alcotest" {with-test} + "cohttp-lwt-unix" {with-test} + "containers" {with-test} + "logs" {with-test} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry.opam b/opentelemetry.opam index cd073cc9..2c8de900 100644 --- a/opentelemetry.opam +++ b/opentelemetry.opam @@ -16,6 +16,7 @@ depends: [ "hmap" "odoc" {with-doc} "alcotest" {with-test} + "opentelemetry-client" {with-test & = version} "pbrt" {>= "4.0" & < "5.0"} "pbrt_yojson" {>= "4.0" & < "5.0"} "ambient-context" {>= "0.2"}