From 47512c84b99ff5366492886821d3ba1b962e90f3 Mon Sep 17 00:00:00 2001 From: Srikanth Chekuri Date: Tue, 15 Nov 2022 06:17:14 +0530 Subject: [PATCH] fix: No module named httpx (#1441) --- .../opentelemetry-instrumentation-fastapi/pyproject.toml | 3 ++- .../opentelemetry-instrumentation-starlette/pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml b/instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml index aedda18cb9..4d21fd2c80 100644 --- a/instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml @@ -39,7 +39,8 @@ instruments = [ test = [ "opentelemetry-instrumentation-fastapi[instruments]", "opentelemetry-test-utils == 0.36b0.dev", - "requests ~= 2.23.0", # needed for testclient + "requests ~= 2.23", # needed for testclient + "httpx ~= 0.22", # needed for testclient ] [project.entry-points.opentelemetry_instrumentor] diff --git a/instrumentation/opentelemetry-instrumentation-starlette/pyproject.toml b/instrumentation/opentelemetry-instrumentation-starlette/pyproject.toml index dfe0bbfcb8..e48c2d7963 100644 --- a/instrumentation/opentelemetry-instrumentation-starlette/pyproject.toml +++ b/instrumentation/opentelemetry-instrumentation-starlette/pyproject.toml @@ -39,7 +39,8 @@ instruments = [ test = [ "opentelemetry-instrumentation-starlette[instruments]", "opentelemetry-test-utils == 0.36b0.dev", - "requests ~= 2.23.0", # needed for testclient + "requests ~= 2.23", # needed for testclient + "httpx ~= 0.22", # needed for testclient ] [project.entry-points.opentelemetry_instrumentor]