Fedir Zadniprovskyi 2024-09-11
fix: gradio pydantic error
@58625141d354c2482674d9c84d0fc0e0c4586503
pyproject.toml
--- pyproject.toml
+++ pyproject.toml
@@ -4,7 +4,7 @@
 requires-python = ">=3.12,<3.13"
 dependencies = [
     "pydantic==2.9.0",
-    "fastapi==0.113.0",
+    "fastapi==0.112.4",
     "uvicorn==0.30.6",
     "python-multipart==0.0.9",
     "soundfile==0.12.1",
uv.lock
--- uv.lock
+++ uv.lock
@@ -242,16 +242,16 @@
 
 [[package]]
 name = "fastapi"
-version = "0.113.0"
+version = "0.112.4"
 source = { registry = "https://pypi.org/simple" }
 dependencies = [
     { name = "pydantic" },
     { name = "starlette" },
     { name = "typing-extensions" },
 ]
-sdist = { url = "https://files.pythonhosted.org/packages/97/18/9ecc61480fce3f10ee95006252ebb2997c140e8cc9bcb15c8495fcbce46e/fastapi-0.113.0.tar.gz", hash = "sha256:b7cf9684dc154dfc93f8b718e5850577b529889096518df44defa41e73caf50f", size = 294108 }
+sdist = { url = "https://files.pythonhosted.org/packages/92/36/2eafe7d5ef26c1ae8e396cfcde3c9e9c50385f5c486dccdfba420d210c3d/fastapi-0.112.4.tar.gz", hash = "sha256:b1f72e1f72afe7902ccd639ba320abb5d57a309804f45c10ab0ce3693cadeb33", size = 292762 }
 wheels = [
-    { url = "https://files.pythonhosted.org/packages/a2/a3/bb626a4cd00320bcdf8680fc62a544334348d1cc479e111e0da9e87048a0/fastapi-0.113.0-py3-none-any.whl", hash = "sha256:c8d364485b6361fb643d53920a18d58a696e189abcb901ec03b487e35774c476", size = 93985 },
+    { url = "https://files.pythonhosted.org/packages/f5/cf/5b703250f4d85e86ec13ec28bb5ac36790092bfe45e94e414529371d6f11/fastapi-0.112.4-py3-none-any.whl", hash = "sha256:6d4f9c3301825d4620665cace8e2bc34e303f61c05a5382d1d61a048ea7f2f37", size = 93930 },
 ]
 
 [[package]]
@@ -307,7 +307,7 @@
 [package.metadata]
 requires-dist = [
     { name = "basedpyright", marker = "extra == 'dev'", specifier = "==1.13.0" },
-    { name = "fastapi", specifier = "==0.113.0" },
+    { name = "fastapi", specifier = "==0.112.4" },
     { name = "faster-whisper", specifier = "==1.0.3" },
     { name = "gradio", specifier = "==4.42.0" },
     { name = "httpx", specifier = "==0.27.2" },
Add a comment
List