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,10 +5,10 @@ build-backend = "pdm.backend"
[project]
authors = []
license = { text = "MIT" }
requires-python = ">=3.9"
requires-python = ">=3.9.0,<4.0.0"
dependencies = [
"qdrant-client<2.0.0,>=1.10.1",
"pydantic<3.0.0,>=2.7.4",
"qdrant-client>=1.10.1,<2.0.0",
"pydantic>=2.7.4,<3.0.0",
"langchain-core!=0.3.0,!=0.3.1,!=0.3.10,!=0.3.11,!=0.3.12,!=0.3.13,!=0.3.14,!=0.3.2,!=0.3.3,!=0.3.4,!=0.3.5,!=0.3.6,!=0.3.7,!=0.3.8,!=0.3.9,<0.4.0,>=0.2.43",
]
name = "langchain-qdrant"
@@ -23,29 +23,31 @@ repository = "https://github.com/langchain-ai/langchain"
[project.optional-dependencies]
fastembed = [
"fastembed<1.0.0,>=0.3.3; python_version < \"3.13\" and python_version >= \"3.9\"",
"fastembed>=0.3.3,<1.0.0; python_version < \"3.13\" and python_version >= \"3.9\"",
]
[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",
"requests<3.0.0,>=2.31.0",
"pytest-socket<1.0.0,>=0.7.0",
"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-socket>=0.7.0,<1.0.0",
"pytest-benchmark",
"freezegun>=1.2.2,<2.0.0",
"syrupy>=4.0.2,<5.0.0",
"requests>=2.31.0,<3.0.0",
"langchain-core",
"langchain-tests",
]
codespell = ["codespell<3.0.0,>=2.2.0"]
test_integration = []
lint = ["ruff<0.13,>=0.12.2"]
lint = ["ruff>=0.12.2,<0.13.0"]
dev = ["langchain-core"]
typing = ["mypy<2.0,>=1.10", "simsimd<7.0.0,>=6.0.0", "langchain-core"]
typing = ["mypy>=1.10.0,<2.0.0", "simsimd>=6.0.0,<7.0.0", "langchain-core"]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
langchain-tests = { path = "../../standard-tests", editable = true }
[tool.ruff]
target-version = "py39"