chore(deps): declare pydantic as a direct dependency

pageindex/config.py imports `from pydantic import BaseModel` in production
code, but pyproject.toml only pulled pydantic in transitively via litellm.
A future litellm release could drop or re-pin pydantic and break installs.

Pin to `>=2.5.0,<3.0.0` to match the v2-style BaseModel usage already in the
codebase, and to stay compatible with litellm's own pydantic constraint.
This commit is contained in:
mountain 2026-05-12 14:32:17 +08:00
parent 595895cf28
commit 3595956f7c

View file

@ -31,6 +31,7 @@ openai-agents = ">=0.1.0"
requests = ">=2.28.0"
httpx = {extras = ["socks"], version = ">=0.28.1"}
typing-extensions = ">=4.9.0"
pydantic = ">=2.5.0,<3.0.0"
[tool.poetry.urls]
Repository = "https://github.com/VectifyAI/PageIndex"