From 440049a68199f54f64a21ef4c7d58a378aae7824 Mon Sep 17 00:00:00 2001 From: Corentin Leruth Date: Thu, 30 Jan 2025 16:12:22 +0100 Subject: [PATCH] add cohttp upper bound version constraint --- dune-project | 4 +++- opentelemetry-cohttp-lwt.opam | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dune-project b/dune-project index b1a84c72..91e27d51 100644 --- a/dune-project +++ b/dune-project @@ -101,7 +101,9 @@ (lwt (>= "5.3")) (cohttp-lwt - (>= "4.0.0")) + (and + (>= "4.0.0") + (< "6"))) (alcotest :with-test)) (synopsis "Opentelemetry tracing for Cohttp HTTP servers")) diff --git a/opentelemetry-cohttp-lwt.opam b/opentelemetry-cohttp-lwt.opam index 0cd9bb22..0a1490ca 100644 --- a/opentelemetry-cohttp-lwt.opam +++ b/opentelemetry-cohttp-lwt.opam @@ -18,7 +18,7 @@ depends: [ "opentelemetry-lwt" {= version} "odoc" {with-doc} "lwt" {>= "5.3"} - "cohttp-lwt" {>= "4.0.0"} + "cohttp-lwt" {>= "4.0.0" & < "6"} "alcotest" {with-test} ] build: [