From 6347ce089922f200dc387e8ed49492ebc4f4365d Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Mon, 21 Nov 2022 19:58:35 +0100 Subject: [PATCH] Fix httpx version (#1460) Fixes #1459 --- .../opentelemetry-instrumentation-httpx/pyproject.toml | 2 +- .../src/opentelemetry/instrumentation/bootstrap_gen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-httpx/pyproject.toml b/instrumentation/opentelemetry-instrumentation-httpx/pyproject.toml index 873b40e3a8..61e1bc4b6e 100644 --- a/instrumentation/opentelemetry-instrumentation-httpx/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-httpx/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ [project.optional-dependencies] instruments = [ - "httpx >= 0.18.0", + "httpx >= 0.18.0, <= 0.23.0", ] test = [ "opentelemetry-instrumentation-httpx[instruments]", diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py index aabbd0a6d0..2e5cc794a6 100644 --- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py +++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py @@ -81,7 +81,7 @@ "instrumentation": "opentelemetry-instrumentation-grpc==0.36b0.dev", }, "httpx": { - "library": "httpx >= 0.18.0", + "library": "httpx >= 0.18.0, <= 0.23.0", "instrumentation": "opentelemetry-instrumentation-httpx==0.36b0.dev", }, "jinja2": {