mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 12:35:08 +02:00
+3



![github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)





Lauren Hirata Singh
GitHub
sydney-runkle
ygicp
ahmed murtaza
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Michael Li
Sakshi Gupta
Eugene Yurtsev
Sam Crowder
William FH
Yagnesh M. Bhadiyadra
Ahmed Murtaza
d5b8733a40
* docs: Add codespell for markdown files * update * remove path * fix * update linting guidelines * chore[deps]: upgrade dependencies with `uv lock --upgrade` (#5471) Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> * fix(checkpoint): correct logging call to use logger (#5458) fix[checkpoint]: correct logging call to use logger * release(langgraph): v0.5.3 (#5498) bump * extend to cover python files used for reference docs * fix(docs): Update the graph image link (#5500) Update the graph image link Point to the correct image reference for Map-Reduce and the Send API example * fix(docs): Update graph-api.md File to reflect correct image (#5499) Update graph-api.md File to reflect correct image Referencing to the correct image file * docs(prebuilt): improve documentation in ToolNode module (#5497) Update documentation in ToolNode module * Update changelog via LangGraph Server Changelog Bot * feat(sdk-py): Show is_studio_user (#5505) * Update changelog via LangGraph Server Changelog Bot * fix(docs): Node caching explanation code required a small fix,. (#5473) fix(docs): Node caching explanation code required a small fix, to avoid confusion to readers. The code had `time.sleep(2)` but the note mentioned one second only. Co-authored-by: ygicp <yagnesh@infocusp.com> * fix(langgraph): add `stacklevel=2` to the warnings to point to the caller’s codes (#5457) chore: add stacklevel=2 to the warnings to point to the caller’s codes * chore(docs): Improve example in use mcp (#5480) * Make example more explicit * Update docs/docs/agents/mcp.md * fix(docs): update examples link (#5515) Co-authored-by: ahmed murtaza <ahmed.gmurtaza@gmail.com> * docs: [LangGraph Server Changelog Bot] Changelog updates for new version(s) (#5514) Update changelog via LangGraph Server Changelog Bot * fix readmes * fix --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> Co-authored-by: Michael Li <michaelli65535@gmail.com> Co-authored-by: Sakshi Gupta <64280320+sakshi1989@users.noreply.github.com> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> Co-authored-by: Sam Crowder <samecrowder@gmail.com> Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com> Co-authored-by: Yagnesh M. Bhadiyadra <35532869+yagneshmb@users.noreply.github.com> Co-authored-by: ygicp <yagnesh@infocusp.com> Co-authored-by: Ahmed Murtaza <ahmed.gmurtaza@hotmail.com> Co-authored-by: ahmed murtaza <ahmed.gmurtaza@gmail.com>
113 lines
3.1 KiB
TOML
113 lines
3.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "langgraph"
|
|
version = "0.5.3"
|
|
description = "Building stateful, multi-actor applications with LLMs"
|
|
authors = []
|
|
requires-python = ">=3.9"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
license-files = ['LICENSE']
|
|
dependencies = [
|
|
"langchain-core>=0.1",
|
|
"langgraph-checkpoint>=2.1.0,<3.0.0",
|
|
"langgraph-sdk>=0.1.42,<0.2.0",
|
|
"langgraph-prebuilt>=0.5.0,<0.6.0",
|
|
"xxhash>=3.5.0",
|
|
"pydantic>=2.7.4",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://www.github.com/langchain-ai/langgraph"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
"pytest-dotenv",
|
|
"pytest-mock",
|
|
"syrupy",
|
|
"httpx",
|
|
"pytest-watcher",
|
|
"mypy",
|
|
"ruff",
|
|
"jupyter",
|
|
"pytest-xdist[psutil]",
|
|
"pytest-repeat",
|
|
"langgraph-prebuilt",
|
|
"langgraph-checkpoint",
|
|
"langgraph-checkpoint-sqlite",
|
|
"langgraph-checkpoint-postgres",
|
|
"langgraph-sdk",
|
|
"psycopg[binary]",
|
|
"uvloop==0.21.0beta1",
|
|
"pyperf",
|
|
"py-spy",
|
|
"types-requests",
|
|
"pycryptodome",
|
|
"langgraph-cli[inmem]",
|
|
]
|
|
|
|
[tool.uv]
|
|
default-groups = ['dev']
|
|
|
|
[tool.uv.sources]
|
|
langgraph-prebuilt = { path = "../prebuilt", editable = true }
|
|
langgraph-checkpoint = { path = "../checkpoint", editable = true }
|
|
langgraph-checkpoint-sqlite = { path = "../checkpoint-sqlite", editable = true }
|
|
langgraph-checkpoint-postgres = { path = "../checkpoint-postgres", editable = true }
|
|
langgraph-sdk = { path = "../sdk-py", editable = true }
|
|
|
|
[tool.ruff]
|
|
lint.select = [ "E", "F", "I", "TID251", "UP" ]
|
|
lint.ignore = [ "E501" ]
|
|
line-length = 88
|
|
indent-width = 4
|
|
extend-include = ["*.ipynb"]
|
|
target-version = "py39"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/bench/*" = ["UP006", "UP007"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
skip-magic-trailing-comma = false
|
|
line-ending = "auto"
|
|
docstring-code-format = false
|
|
docstring-code-line-length = "dynamic"
|
|
|
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
"typing.TypedDict".msg = "Use typing_extensions.TypedDict instead."
|
|
|
|
[tool.mypy]
|
|
# https://mypy.readthedocs.io/en/stable/config_file.html
|
|
disallow_untyped_defs = "True"
|
|
explicit_package_bases = "True"
|
|
warn_no_return = "False"
|
|
warn_unused_ignores = "True"
|
|
warn_redundant_casts = "True"
|
|
allow_redefinition = "True"
|
|
disable_error_code = "typeddict-item, return-value, override, has-type"
|
|
|
|
[tool.coverage.run]
|
|
omit = ["tests/*"]
|
|
|
|
[tool.pytest-watcher]
|
|
now = true
|
|
delay = 0.1
|
|
patterns = ["*.py"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["langgraph"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--full-trace --strict-markers --strict-config --durations=5 --snapshot-warn-unused"
|
|
|
|
[tool.codespell]
|
|
# Ignore words specific to the LangGraph library code
|
|
ignore-words-list = "infor,thead,stdio,nd,jupyter,lets,lite,uis,deque,langgraph,langchain,pydantic,typing,async,await,coroutine,iterable,iterables,serializable,deserializable,checkpointer,checkpointing,stateful,statefulness,prebuilt,prebuilt,supervisor,supervisory,swarm,swarming,multiactor,multiactors,subgraph,subgraphs,workflow,workflows,streaming,streamable,streamed,streamer,streamers,streaming,streamable,streamed,streamer,streamers"
|