📌 Restrict FastAPI version to <0.100.0

FastAPI is about to deprecate Pydantic V1. However, some of our key dependencies like SQLModel are not yet ready for Pydantic V2. Hence, the FastAPI dependency version is being restricted to <0.100.0 to prevent compatibility issues.
This commit is contained in:
luoshuijs 2023-07-08 14:33:47 +08:00 committed by GitHub
parent 438e1f3450
commit e77beb8c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ pytest-asyncio = { version = "^0.21.0", optional = true }
flaky = { version = "^3.7.0", optional = true }
lxml = "^4.9.2"
arko-wrapper = "^0.2.8"
fastapi = "^0.99.1"
fastapi = "<0.100.0"
uvicorn = { extras = ["standard"], version = "^0.22.0" }
sentry-sdk = "^1.27.1"
GitPython = "^3.1.30"