⬆ Upgrade code to support pydantic V2 (#615)

This commit is contained in:
Esteban Maya
2024-02-28 17:24:24 -05:00
committed by GitHub
parent 2346b81c51
commit 08395759fe
7 changed files with 47 additions and 40 deletions

View File

@@ -13,7 +13,7 @@ email-validator = "^2.1.0.post1"
celery = "^5.3.5"
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
tenacity = "^8.2.3"
pydantic = "<2.0"
pydantic = ">2.0"
emails = "^0.6"
gunicorn = "^21.2.0"
@@ -25,6 +25,7 @@ psycopg = {extras = ["binary"], version = "^3.1.13"}
sqlmodel = "^0.0.16"
# Pin bcrypt until passlib supports the latest
bcrypt = "4.0.1"
pydantic-settings = "^2.2.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"