Skip to content

Commit 14c561e

Browse files
authored
infra: relax types-requests version range (#31504)
1 parent 6d6f305 commit 14c561e

File tree

5 files changed

+534
-23
lines changed

5 files changed

+534
-23
lines changed

β€Žlibs/partners/anthropic/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ dev = ["langchain-core"]
4343
test_integration = ["requests<3.0.0,>=2.32.3", "langchain-core"]
4444
typing = [
4545
"mypy<2.0,>=1.10",
46+
"types-requests>=2.31.0",
4647
"langchain-core",
4748
]
4849

β€Žlibs/partners/anthropic/tests/integration_tests/test_chat_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import httpx
99
import pytest
10-
import requests # type: ignore[import-untyped]
10+
import requests
1111
from anthropic import BadRequestError
1212
from langchain_core.callbacks import CallbackManager
1313
from langchain_core.exceptions import OutputParserException

β€Žlibs/partners/anthropic/uv.lock

Lines changed: 24 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žlibs/partners/chroma/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ lint = [
4646
dev = ["langchain-core"]
4747
typing = [
4848
"mypy<2.0,>=1.10",
49-
"types-requests<3.0.0.0,>=2.31.0.20240406",
49+
"types-requests>=2.31.0",
5050
"langchain-core",
5151
]
5252

0 commit comments

Comments
Β (0)