diff --git a/requirements.txt b/requirements.txt index b70be7ee..f2381bc5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ fastapi==0.109.1 httpx_oauth==0.13.0 makefun==1.15.1 passlib[bcrypt]==1.7.4 -pydantic==1.10.13 +pydantic==2.9.1 pyjwt[crypto] ==2.8.0 python-dotenv==1.0.0 python-multipart==0.0.9 diff --git a/setup.py b/setup.py index 73be05f3..2fc10d4b 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def get_version(version_file: str) -> str: "pyjwt[crypto] ==2.8.0", "python-multipart ==0.0.9", "makefun >=1.11.2,<2.0.0", - "pydantic<2", + "pydantic<3", "python-dotenv", "sqlalchemy", ],