diff --git a/requirements.txt b/requirements.txt index b5fdb2e9..66e580cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ fastapi==0.101.1 httpx_oauth==0.13.0 makefun==1.15.1 passlib[bcrypt]==1.7.4 -pydantic==1.10.11 +pydantic==2.6.1 pyjwt[crypto] ==2.8.0 python-dotenv==1.0.0 python-multipart==0.0.6 diff --git a/setup.py b/setup.py index 48329426..b66dbd40 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.6", "makefun >=1.11.2,<2.0.0", - "pydantic<2", + "pydantic<3", "python-dotenv", "sqlalchemy", ],