mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-05-13 16:52:37 +02:00
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:
parent
595895cf28
commit
3595956f7c
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue