mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-11 10:06:05 +00:00
75 lines
2.0 KiB
TOML
75 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[project]
|
|
authors = []
|
|
license = { text = "MIT" }
|
|
requires-python = "<4.0,>=3.9"
|
|
dependencies = [
|
|
"anthropic<1,>=0.49.0",
|
|
"langchain-core<1.0.0,>=0.3.53",
|
|
"pydantic<3.0.0,>=2.7.4",
|
|
]
|
|
name = "langchain-anthropic"
|
|
version = "0.3.12"
|
|
description = "An integration package connecting AnthropicMessages and LangChain"
|
|
readme = "README.md"
|
|
|
|
[project.urls]
|
|
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/anthropic"
|
|
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-anthropic%3D%3D0%22&expanded=true"
|
|
repository = "https://github.com/langchain-ai/langchain"
|
|
|
|
[dependency-groups]
|
|
test = [
|
|
"pytest<8.0.0,>=7.3.0",
|
|
"freezegun<2.0.0,>=1.2.2",
|
|
"pytest-mock<4.0.0,>=3.10.0",
|
|
"syrupy<5.0.0,>=4.0.2",
|
|
"pytest-watcher<1.0.0,>=0.3.4",
|
|
"pytest-asyncio<1.0.0,>=0.21.1",
|
|
"defusedxml<1.0.0,>=0.7.1",
|
|
"pytest-retry<1.8.0,>=1.7.0",
|
|
"pytest-timeout<3.0.0,>=2.3.1",
|
|
"pytest-socket<1.0.0,>=0.7.0",
|
|
"langchain-core",
|
|
"langchain-tests",
|
|
]
|
|
codespell = ["codespell<3.0.0,>=2.2.0"]
|
|
lint = ["ruff<1.0,>=0.5"]
|
|
dev = ["langchain-core"]
|
|
test_integration = ["requests<3.0.0,>=2.32.3", "langchain-core"]
|
|
typing = [
|
|
"mypy<2.0,>=1.10",
|
|
"types-requests<3.0.0.0,>=2.32.0.20241016",
|
|
"langchain-core",
|
|
]
|
|
|
|
|
|
[tool.uv.sources]
|
|
langchain-core = { path = "../../core", editable = true }
|
|
langchain-tests = { path = "../../standard-tests", editable = true }
|
|
|
|
[tool.mypy]
|
|
disallow_untyped_defs = "True"
|
|
plugins = ['pydantic.mypy']
|
|
|
|
[tool.ruff]
|
|
target-version = "py39"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "T201", "UP"]
|
|
ignore = [ "UP007", ]
|
|
|
|
[tool.coverage.run]
|
|
omit = ["tests/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
|
|
markers = [
|
|
"requires: mark tests as requiring a specific library",
|
|
"compile: mark placeholder test used to compile integration tests without running them",
|
|
]
|
|
asyncio_mode = "auto"
|