mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 09:32:25 +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
52 lines
950 B
TOML
52 lines
950 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "langgraph-sdk"
|
|
version = "0.1.69"
|
|
description = "SDK for interacting with LangGraph API"
|
|
authors = []
|
|
requires-python = ">=3.9"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
license-files = ['LICENSE']
|
|
dependencies = [
|
|
"httpx>=0.25.2",
|
|
"orjson>=3.10.1",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://www.github.com/langchain-ai/langgraph"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff",
|
|
"codespell",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-mock",
|
|
"pytest-watch",
|
|
"mypy",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["langgraph_sdk"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--strict-markers --strict-config --durations=5 -vv"
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.uv]
|
|
default-groups = ['dev']
|
|
|
|
[tool.ruff]
|
|
lint.select = [
|
|
"E", # pycodestyle
|
|
"F", # Pyflakes
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"I", # isort
|
|
]
|
|
lint.ignore = ["E501", "B008", "UP007", "UP006"]
|