chore: update pyproject.toml files, remove codespell (#33028)

- 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
This commit is contained in:
Mason Daugherty
2025-09-20 22:09:33 -04:00
committed by GitHub
parent f2b0afd0b7
commit 781db9d892
77 changed files with 6372 additions and 4862 deletions

View File

@@ -5,11 +5,11 @@ build-backend = "pdm.backend"
[project]
authors = []
license = { text = "MIT" }
requires-python = ">=3.9"
requires-python = ">=3.9.0,<4.0.0"
dependencies = [
"anthropic<1,>=0.67.0",
"langchain-core<1.0.0,>=0.3.76",
"pydantic<3.0.0,>=2.7.4",
"anthropic>=0.67.0,<1.0.0",
"langchain-core>=0.3.76,<2.0.0",
"pydantic>=2.7.4,<3.0.0",
]
name = "langchain-anthropic"
version = "0.3.20"
@@ -23,27 +23,26 @@ 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",
"vcrpy>=7.0",
"pytest>=7.3.0,<8.0.0",
"freezegun>=1.2.2,<2.0.0",
"pytest-mock>=3.10.0,<4.0.0",
"syrupy>=4.0.2,<5.0.0",
"pytest-watcher>=0.3.4,<1.0.0",
"pytest-asyncio>=0.21.1,<1.0.0",
"defusedxml>=0.7.1,<1.0.0",
"pytest-retry>=1.7.0,<1.8.0",
"pytest-timeout>=2.3.1,<3.0.0",
"pytest-socket>=0.7.0,<1.0.0",
"vcrpy>=7.0.0,<8.0.0",
"langchain-core",
"langchain-tests",
]
codespell = ["codespell<3.0.0,>=2.2.0"]
lint = ["ruff<0.13,>=0.12.9"]
lint = ["ruff>=0.12.9,<0.13.0"]
dev = ["langchain-core"]
test_integration = ["requests<3.0.0,>=2.32.3", "langchain-core"]
test_integration = ["requests>=2.32.3,<3.0.0", "langchain-core"]
typing = [
"mypy<2.0,>=1.17.1",
"types-requests>=2.31.0",
"mypy>=1.17.1,<2.0.0",
"types-requests>=2.31.0,<3.0.0",
"langchain-core",
]