diff --git a/pyproject.toml b/pyproject.toml index 224eb49..c0f3d65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,12 +103,12 @@ dependencies = [ # ── GenAI / AI ───────────────────────────────────────────────── "opentelemetry-instrumentation-openai-v2 >= 2.0b0", - "opentelemetry-instrumentation-anthropic >= 0.1b0", - "opentelemetry-instrumentation-vertexai >= 0.1b0", - "opentelemetry-instrumentation-google-generativeai >= 0.1b0", - "opentelemetry-instrumentation-langchain >= 0.1b0", + "opentelemetry-instrumentation-anthropic >= 0.1b0; python_version >= '3.10'", + "opentelemetry-instrumentation-vertexai >= 0.1b0; python_version >= '3.10'", + "opentelemetry-instrumentation-google-generativeai >= 0.1b0; python_version >= '3.10'", + "opentelemetry-instrumentation-langchain >= 0.1b0; python_version >= '3.10'", "opentelemetry-instrumentation-ollama >= 0.1b0", - "opentelemetry-instrumentation-crewai >= 0.1b0", + "opentelemetry-instrumentation-crewai >= 0.1b0; python_version >= '3.10'", # ── Runtime / Concurrency ────────────────────────────────────── "opentelemetry-instrumentation-logging >= 0.41b0", @@ -131,7 +131,8 @@ dev = [ "pytest-asyncio >= 0.21.0", "pytest-cov >= 4.1.0", "coverage[toml] >= 7.0", - "httpx >= 0.24.0", + "httpx >= 0.24.0, < 0.28.0; python_version < '3.10'", + "httpx >= 0.24.0; python_version >= '3.10'", "starlette >= 0.27.0, < 0.30.0; python_version < '3.10'", "starlette >= 0.27.0; python_version >= '3.10'", "ruff >= 0.4.0", diff --git a/tests/unit/test_data_tracking.py b/tests/unit/test_data_tracking.py index a9990be..6d0f003 100644 --- a/tests/unit/test_data_tracking.py +++ b/tests/unit/test_data_tracking.py @@ -207,7 +207,7 @@ def test_messaging_operations(self): assert MessagingOperation.PUBLISH == "publish" assert MessagingOperation.RECEIVE == "receive" assert MessagingOperation.CONSUME == "consume" - + class TestSystemNormalization: """Tests for system name normalization maps."""