From 21206bafcfa2561127e6dd410670c361fb24c6e2 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:09:44 +1100 Subject: [PATCH] chore: bump pydantic and fastapi No breaking changes for us. Pydantic is working on its own faster JSON parser, `jiter`, and 2.5.0 starts bringing this in. See https://github.com/pydantic/jiter There are a number of other bugfixes and minor changes in this version of pydantic. The FastAPI update is mostly internal but let's stay up to date. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1cd62c36ab..80421d9277 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ dependencies = [ "easing-functions", "einops", "facexlib", - "fastapi~=0.103.2", + "fastapi~=0.104.1", "fastapi-events~=0.9.1", "huggingface-hub~=0.16.4", "imohash", @@ -59,7 +59,7 @@ dependencies = [ "onnx", "onnxruntime", "opencv-python", - "pydantic~=2.4.2", + "pydantic~=2.5.0", "pydantic-settings~=2.0.3", "picklescan", "pillow",