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,8 +5,8 @@ build-backend = "pdm.backend"
[project]
authors = []
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = ["langchain-core<1.0.0,>=0.3.76", "exa-py<2.0.0,>=1.0.8"]
requires-python = ">=3.9.0,<4.0.0"
dependencies = ["langchain-core>=0.3.76,<1.0.0", "exa-py>=1.0.8,<2.0.0"]
name = "langchain-exa"
version = "0.3.1"
description = "An integration package connecting Exa and LangChain"
@@ -19,27 +19,29 @@ 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",
"pytest>=7.3.0,<8.0.0",
"pytest-mock>=3.10.0,<4.0.0",
"pytest-watcher>=0.3.4,<1.0.0",
"pytest-asyncio>=0.21.1,<1.0.0",
"pytest-benchmark",
"freezegun>=1.2.2,<2.0.0",
"syrupy>=4.0.2,<5.0.0",
"langchain-core",
"langchain-tests",
]
codespell = ["codespell<3.0.0,>=2.2.0"]
lint = ["ruff<0.13,>=0.12.2"]
lint = ["ruff>=0.12.2,<0.13.0"]
dev = ["langchain-core"]
test_integration = []
typing = [
"mypy<2.0,>=1.10",
"mypy>=1.10.0,<2.0.0",
"langchain-core",
"pydantic>2.0,<2.10", # TODO: support 2.10
"pydantic>2.0.0,<2.10.0", # TODO: support 2.10
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"