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

@@ -142,11 +142,8 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
"codspeed-mode": mode,
}
]
elif dir_ == "libs/core":
if dir_ == "libs/core":
py_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
# custom logic for specific directories
elif dir_ in {"libs/partners/chroma"}:
py_versions = ["3.10", "3.13"]
else:
py_versions = ["3.10", "3.14"]