mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 22:52:29 +02:00
* Migrate to `uv` * Format `pyproject.toml` files properly * Remove upper bounds on dependencies, and bounds on dev dependencies (we should be using latest) * Move to hatch for packaing In the future we should: * Set up dependabot / automate lockfile updates and tests * Add tests for min compatible versions (I'll do this right after merge) * Use dynamic versioning * Bump `pydantic` to v2.11.4 in the lockfile, we have some tests failing
63 lines
1.2 KiB
TOML
63 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "langgraph-cli"
|
|
version = "0.2.10"
|
|
description = "CLI for interacting with LangGraph API"
|
|
authors = []
|
|
requires-python = ">=3.9"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
license-files = ['LICENSE']
|
|
dependencies = [
|
|
"click>=8.1.7",
|
|
"langgraph-sdk>=0.1.0 ; python_version >= '3.11'",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
inmem = [
|
|
"langgraph-api>=0.1.20 ; python_version >= '3.11'",
|
|
"langgraph-runtime-inmem>=0.0.8 ; python_version >= '3.11'",
|
|
"python-dotenv>=0.8.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://www.github.com/langchain-ai/langgraph"
|
|
|
|
[project.scripts]
|
|
langgraph = "langgraph_cli.cli:cli"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff",
|
|
"codespell",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-mock",
|
|
"pytest-watch",
|
|
"mypy",
|
|
"msgspec",
|
|
]
|
|
|
|
[tool.uv]
|
|
default-groups = ['dev']
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["langgraph_cli"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--strict-markers --strict-config --durations=5 -vv"
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.ruff]
|
|
lint.select = [
|
|
"E", # pycodestyle
|
|
"F", # Pyflakes
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"I", # isort
|
|
]
|
|
lint.ignore = ["E501", "B008"]
|