mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
- Removes Codespell from deps, docs, and `Makefile`s - Python version requirements in all `pyproject.toml` files now use the `~=` (compatible release) specifier - All dependency groups and main dependencies now use explicit lower and upper bounds, reducing potential for breaking changes
51 lines
1.2 KiB
TOML
51 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[project]
|
|
name = "__package_name__"
|
|
version = "0.1.0"
|
|
description = "An integration package connecting __ModuleName__ and LangChain"
|
|
authors = []
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
requires-python = ">=3.10.0,<4.0.0"
|
|
dependencies = [
|
|
"langchain-core>=0.3.15",
|
|
]
|
|
|
|
[project.urls]
|
|
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/__package_name_short__"
|
|
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22__package_name_short__%3D%3D0%22&expanded=true"
|
|
"Repository" = "https://github.com/langchain-ai/langchain"
|
|
|
|
[tool.mypy]
|
|
disallow_untyped_defs = "True"
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=7.4.3",
|
|
"pytest-asyncio>=0.23.2",
|
|
"pytest-socket>=0.7.0",
|
|
"pytest-watcher>=0.3.4",
|
|
"langchain-tests>=0.3.5",
|
|
"ruff>=0.5",
|
|
"mypy>=1.10",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "T201"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"docs/**" = [ "ALL",]
|
|
|
|
[tool.coverage.run]
|
|
omit = ["tests/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--strict-markers --strict-config --durations=5"
|
|
markers = [
|
|
"compile: mark placeholder test used to compile integration tests without running them",
|
|
]
|
|
asyncio_mode = "auto"
|