mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-01 22:15:11 +02:00
Bumps the minor-and-patch group in /libs/sdk-py with 5 updates: | Package | From | To | | --- | --- | --- | | [langchain-core](https://github.com/langchain-ai/langchain) | `1.6.1` | `1.6.5` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.15.1` | `3.16.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.16.5` | `0.16.9` | | [ty](https://github.com/astral-sh/ty) | `0.0.75` | `0.0.84` | | [starlette](https://github.com/Kludex/starlette) | `1.6.0` | `1.7.0` | Updates `langchain-core` from 1.6.1 to 1.6.5 - [Release notes](https://github.com/langchain-ai/langchain/releases) - [Commits](https://github.com/langchain-ai/langchain/compare/langchain-core==1.6.1...langchain-core==1.6.5) Updates `pytest-mock` from 3.15.1 to 3.16.0 - [Release notes](https://github.com/pytest-dev/pytest-mock/releases) - [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.15.1...v3.16.0) Updates `ruff` from 0.16.5 to 0.16.9 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.16.5...0.16.9) Updates `ty` from 0.0.75 to 0.0.84 - [Release notes](https://github.com/astral-sh/ty/releases) - [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ty/compare/0.0.75...0.0.84) Updates `starlette` from 1.6.0 to 1.7.0 - [Release notes](https://github.com/Kludex/starlette/releases) - [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/starlette/compare/1.6.0...1.7.0) --- updated-dependencies: - dependency-name: langchain-core dependency-version: 1.6.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: pytest-mock dependency-version: 3.16.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: ruff dependency-version: 0.16.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: ty dependency-version: 0.0.84 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: starlette dependency-version: 1.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
104 lines
3.0 KiB
TOML
104 lines
3.0 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "langgraph-sdk"
|
|
dynamic = ["version"]
|
|
description = "SDK for interacting with LangGraph API"
|
|
authors = []
|
|
requires-python = ">=3.10"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
license-files = ['LICENSE']
|
|
dependencies = [
|
|
"httpx>=0.25.2",
|
|
"orjson>=3.11.5",
|
|
"langchain-protocol>=0.0.15",
|
|
"langchain-core>=1.4.0,<2",
|
|
"websockets>=14,<17",
|
|
]
|
|
|
|
[tool.hatch.version]
|
|
path = "langgraph_sdk/__init__.py"
|
|
|
|
[project.urls]
|
|
Source = "https://github.com/langchain-ai/langgraph/tree/main/libs/sdk-py"
|
|
Twitter = "https://x.com/langchain_oss"
|
|
Slack = "https://www.langchain.com/join-community"
|
|
Reddit = "https://www.reddit.com/r/LangChain/"
|
|
|
|
[dependency-groups]
|
|
test = [
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-mock",
|
|
"pytest-watch",
|
|
]
|
|
lint = [
|
|
"ruff==0.16.9",
|
|
"codespell",
|
|
"ty",
|
|
"starlette",
|
|
]
|
|
dev = [
|
|
{ include-group = "test" },
|
|
{ include-group = "lint" },
|
|
"langgraph",
|
|
"pydantic>=2.12.4",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["langgraph_sdk"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--strict-markers --strict-config --durations=5 -vv -m 'not integration'"
|
|
asyncio_mode = "auto"
|
|
markers = [
|
|
"integration: end-to-end tests that require a running langgraph-api stack at http://localhost:2024. Excluded from `make test` by default; opt in with `pytest -m integration` (and the autouse fixture skips if the API is unreachable).",
|
|
]
|
|
|
|
[tool.uv]
|
|
default-groups = ['dev']
|
|
|
|
[tool.uv.sources]
|
|
langgraph = { path = "../langgraph", editable = true }
|
|
|
|
[tool.ruff]
|
|
exclude = ["venv", ".venv", "build", "dist"]
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"F", # pyflakes
|
|
"I", # isort (import sorting)
|
|
"ARG", # unused arguments
|
|
"TID251", # banned imports
|
|
"TID252", # banned relative imports
|
|
"T20", # print statements
|
|
"UP", # pyupgrade (Python version-specific fixes)
|
|
"B", # flake8-bugbear (common bugs)
|
|
"SIM", # flake8-simplify (code simplification)
|
|
"RUF", # ruff-specific rules
|
|
"S101", # flake8-bandit: use of assert
|
|
"PLC0415", # import-outside-top-level
|
|
]
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
"B006", # mutable default arguments (sometimes intentional)
|
|
"B904", # raise without from inside except (sometimes intentional)
|
|
"SIM102", # nested if statements (sometimes clearer)
|
|
]
|
|
# PLC0415 (import-outside-top-level) is enforced in tests only. Library code
|
|
# still has deferred imports that have not been reviewed, so it stays exempt
|
|
# for now.
|
|
per-file-ignores = { "tests/**" = ["S101", "B017"], "integration/**" = ["S101", "T20", "B017", "ARG001", "ARG002", "PLC0415"], "langgraph_sdk/**" = ["PLC0415"] }
|
|
|
|
[tool.ty.src]
|
|
# The `integration/` graphs run inside the docker image (with `deepagents`
|
|
# and other graph-only deps installed there) and are not part of the SDK
|
|
# package surface, so we don't typecheck them in the sdk-py venv.
|
|
exclude = ["integration"]
|
|
|
|
[tool.ty.rules]
|
|
no-matching-overload = "ignore"
|