diff --git a/scripts/populate_tox/config.py b/scripts/populate_tox/config.py index 7fc0710936..3a83a3f154 100644 --- a/scripts/populate_tox/config.py +++ b/scripts/populate_tox/config.py @@ -23,7 +23,7 @@ "anthropic": { "package": "anthropic", "deps": { - "*": ["pytest-asyncio"], + "*": ["pytest-asyncio", "httpx"], "<0.50": ["httpx<0.28.0"], # tokenizers dropped Python 3.8 support, but didn't update package metadata. # https://github.com/huggingface/tokenizers/commit/f4c9fd7f402fc794df8f1b547a95ee5305f9fe62 @@ -249,7 +249,7 @@ "package": "langchain", "integration_name": "langchain", "deps": { - "*": ["pytest-asyncio", "openai", "tiktoken", "langchain-openai"], + "*": ["pytest-asyncio", "openai", "tiktoken", "langchain-openai", "httpx"], "<=0.1": ["httpx<0.28.0"], ">=0.3": ["langchain-community"], ">=1.0": ["langchain-classic"], @@ -263,7 +263,7 @@ "package": "langchain", "integration_name": "langchain", "deps": { - "*": ["pytest-asyncio", "openai", "langchain-openai"], + "*": ["pytest-asyncio", "openai", "langchain-openai", "httpx"], "<=0.1": ["httpx<0.28.0"], ">=0.3": ["langchain-community"], ">=1.0": ["langchain-classic"], @@ -283,7 +283,7 @@ "litellm": { "package": "litellm", "deps": { - "*": ["anthropic", "google-genai", "pytest-asyncio"], + "*": ["anthropic", "google-genai", "pytest-asyncio", "httpx"], }, "include": "<=1.96", # https://github.com/BerriAI/litellm/issues/36384 }, @@ -323,7 +323,7 @@ "package": "openai", "integration_name": "openai", "deps": { - "*": ["pytest-asyncio", "tiktoken"], + "*": ["pytest-asyncio", "tiktoken", "httpx"], "<1.55": ["httpx<0.28"], }, "python": { @@ -335,7 +335,7 @@ "package": "openai", "integration_name": "openai", "deps": { - "*": ["pytest-asyncio"], + "*": ["pytest-asyncio", "httpx"], "<1.55": ["httpx<0.28"], }, "python": { @@ -346,7 +346,7 @@ "openai_agents": { "package": "openai-agents", "deps": { - "*": ["pytest-asyncio"], + "*": ["pytest-asyncio", "httpx"], }, "python": ">=3.10", },