✨ Add support for Pydantic v2 (while keeping support for v1 if v2 is not available), including initial work by AntonDeMeester (#722)
Co-authored-by: Mohamed Farahat <farahats9@yahoo.com> Co-authored-by: Stefan Borer <stefan.borer@gmail.com> Co-authored-by: Peter Landry <peter.landry@gmail.com> Co-authored-by: Anton De Meester <antondemeester+github@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5b733b348d
commit
fa2f178b8a
@@ -34,7 +34,7 @@ classifiers = [
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7"
|
||||
SQLAlchemy = ">=2.0.0,<2.1.0"
|
||||
pydantic = "^1.9.0"
|
||||
pydantic = ">=1.10.13,<3.0.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.0.1"
|
||||
@@ -50,6 +50,8 @@ fastapi = "^0.103.2"
|
||||
ruff = "^0.1.2"
|
||||
# For FastAPI tests
|
||||
httpx = "0.24.1"
|
||||
# TODO: upgrade when deprecating Python 3.7
|
||||
dirty-equals = "^0.6.0"
|
||||
typer-cli = "^0.0.13"
|
||||
mkdocs-markdownextradata-plugin = ">=0.1.7,<0.3.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user