From 0532fed98997109ef7a391bdc16b061f395be018 Mon Sep 17 00:00:00 2001 From: Tanmay Jain <85993243+TanmayDoesAI@users.noreply.github.com> Date: Mon, 1 Jun 2026 10:53:50 +0530 Subject: [PATCH] Pin pydantic to v2 so install doesn't pull v1 without pydantic-core (#139) Unpinned, pip can resolve pydantic v1, which has no pydantic-core, and the app fails on import. Pin pydantic and pydantic-settings to v2. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 625aad30b..e4630d17c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,8 @@ uvicorn python-multipart python-dotenv httpx -pydantic -pydantic-settings +pydantic>=2.0 +pydantic-settings>=2.0 SQLAlchemy pypdf beautifulsoup4