fix(chroma): fix Python 3.14 support in langchain-chroma (#36199)

Latest chromadb version supports Python 3.14 and pydantic 3.12.

Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
Christophe Bornet
2026-03-27 20:40:42 +01:00
committed by GitHub
parent c7a677bba5
commit 494b760028
3 changed files with 315 additions and 238 deletions

View File

@@ -24,7 +24,7 @@ dependencies = [
"langchain-core>=1.2.21,<2.0.0",
"numpy>=1.26.0; python_version < '3.13'",
"numpy>=2.1.0; python_version >= '3.13'",
"chromadb>=1.3.5,<2.0.0",
"chromadb>=1.5.5,<2.0.0",
]
[project.urls]
@@ -47,16 +47,12 @@ test = [
"pytest-socket>=0.7.0,<1.0.0",
"freezegun>=1.2.2,<2.0.0",
"syrupy>=4.0.2,<5.0.0",
"onnxruntime<1.20.0; python_version < \"3.10\"",
"onnxruntime; python_version >= \"3.10\"",
"langchain-core",
"langchain-tests",
]
test_integration = []
lint = [
"ruff>=0.13.1,<0.14.0",
"onnxruntime<1.20; python_version < \"3.10\"",
"onnxruntime; python_version >= \"3.10\"",
]
dev = ["langchain-core"]
typing = [