Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions libs/cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ dev = [
"pytest-watcher>=0.3.4,<1.0.0"
]
lint = [
"ruff>=0.13.1,<0.14",
"mypy>=1.18.1,<1.19"
"ruff>=0.14.10,<0.15.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be noted as well

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the title and description.

]
test = [
"langchain-core",
"langchain-classic"
]
typing = ["langchain-classic"]
typing = [
"mypy>=1.19.1,<1.20",
"langchain-classic"
]
test_integration = []

[tool.uv.sources]
Expand Down
202 changes: 138 additions & 64 deletions libs/cli/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Slack = "https://www.langchain.com/join-community"
Reddit = "https://www.reddit.com/r/LangChain/"

[dependency-groups]
lint = ["ruff>=0.13.1,<0.14.0"]
lint = ["ruff>=0.14.10,<0.15.0"]
typing = [
"mypy>=1.18.1,<1.19.0",
"mypy>=1.19.1,<1.20.0",
"types-pyyaml>=6.0.12.2,<7.0.0.0",
"types-requests>=2.28.11.5,<3.0.0.0",
"langchain-text-splitters",
Expand Down
2 changes: 1 addition & 1 deletion libs/core/tests/benchmarks/test_async_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def test_async_callbacks_in_sync(benchmark: BenchmarkFixture) -> None:
infinite_cycle = cycle([AIMessage(content=" ".join(["hello", "goodbye"] * 5))])
model = GenericFakeChatModel(messages=infinite_cycle)

@benchmark # type: ignore[misc]
@benchmark # type: ignore[untyped-decorator]
def sync_callbacks() -> None:
for _ in range(5):
for _ in model.stream("meow", {"callbacks": [MyCustomAsyncHandler()]}):
Expand Down
2 changes: 1 addition & 1 deletion libs/core/tests/benchmarks/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
)
@pytest.mark.benchmark
def test_import_time(benchmark: BenchmarkFixture, import_path: str) -> None:
@benchmark # type: ignore[misc]
@benchmark # type: ignore[untyped-decorator]
def import_in_subprocess() -> None:
subprocess.run([sys.executable, "-c", import_path], check=True)
190 changes: 132 additions & 58 deletions libs/core/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ test_integration = [
"langchain-text-splitters",
]
lint = [
"ruff>=0.13.1,<0.14.0",
"ruff>=0.14.10,<0.15.0",
"cffi<1.17.1; python_version < \"3.10\"",
"cffi; python_version >= \"3.10\"",
]
typing = [
"mypy>=1.18.2,<1.19.0",
"mypy>=1.19.1,<1.20.0",
"mypy-protobuf>=3.0.0,<4.0.0",
"types-pyyaml>=6.0.12.2,<7.0.0.0",
"types-requests>=2.28.11.5,<3.0.0.0",
Expand Down
3 changes: 2 additions & 1 deletion libs/langchain/tests/unit_tests/test_imports.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import ast
import importlib
import warnings
from importlib.util import find_spec
from pathlib import Path
from typing import Any

# Attempt to recursively import all modules in langchain
PKG_ROOT = Path(__file__).parent.parent.parent

COMMUNITY_NOT_INSTALLED = importlib.util.find_spec("langchain_community") is None
COMMUNITY_NOT_INSTALLED = find_spec("langchain_community") is None


def test_import_all() -> None:
Expand Down
206 changes: 140 additions & 66 deletions libs/langchain/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/langchain_v1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ test = [
"langchain-openai",
]
lint = [
"ruff>=0.14.2,<0.15.0",
"ruff>=0.14.10,<0.15.0",
]
typing = [
"mypy>=1.18.1,<1.19.0",
"mypy>=1.19.1,<1.20.0",
"types-toml>=0.10.8.20240310,<1.0.0.0",
]

Expand Down
198 changes: 136 additions & 62 deletions libs/langchain_v1/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/standard-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Reddit = "https://www.reddit.com/r/LangChain/"
[dependency-groups]
test = ["langchain-core"]
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
lint = ["ruff>=0.14.10,<0.15.0"]
typing = [
"mypy>=1.18.1,<1.19.0",
"mypy>=1.19.1,<1.20.0",
"types-pyyaml>=6.0.12.2,<7.0.0.0",
"langchain-core",
]
Expand Down
188 changes: 131 additions & 57 deletions libs/standard-tests/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/text-splitters/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ Reddit = "https://www.reddit.com/r/LangChain/"

[dependency-groups]
lint = [
"ruff>=0.13.1,<0.14.0",
"ruff>=0.14.10,<0.15.0",
"langchain-core"
]
typing = [
"mypy>=1.18.1,<1.19.0",
"mypy>=1.19.1,<1.20.0",
"lxml-stubs>=0.5.1,<1.0.0",
"types-requests>=2.31.0.20240218,<3.0.0.0",
"tiktoken>=0.8.0,<1.0.0",
Expand Down
198 changes: 136 additions & 62 deletions libs/text-splitters/uv.lock

Large diffs are not rendered by default.

Loading