feat: Upgrade to Pydantic V2 (#3134)

* bumped pydantic
This commit is contained in:
Michael Genson
2024-02-11 10:47:37 -06:00
committed by GitHub
parent 248459671e
commit 7a107584c7
129 changed files with 1138 additions and 833 deletions

View File

@@ -26,7 +26,7 @@ httpx = "^0.26.0"
lxml = "^5.0.0"
orjson = "^3.8.0"
psycopg2-binary = { version = "^2.9.1", optional = true }
pydantic = "^1.10.4"
pydantic = "^2.6.1"
pyhumps = "^3.5.3"
python = "^3.10"
python-dateutil = "^2.8.2"
@@ -45,6 +45,7 @@ text-unidecode = "^1.3"
rapidfuzz = "^3.2.0"
html2text = "^2020.1.16"
paho-mqtt = "^1.6.1"
pydantic-settings = "^2.1.0"
[tool.poetry.group.postgres.dependencies]
psycopg2-binary = { version = "^2.9.1" }
@@ -82,7 +83,7 @@ line_length = 120
[tool.vulture]
exclude = ["**/models/**/*.py", "dir/"]
ignore_decorators = ["@*router.*", "@app.on_event", "@validator", "@controller"]
ignore_decorators = ["@*router.*", "@app.on_event", "@field_validator", "@controller"]
make_whitelist = true
min_confidence = 60
paths = ["mealie"]