From ca0dca4a0fc06852b99c60df8ac65d14c9afd526 Mon Sep 17 00:00:00 2001 From: TJ Date: Tue, 10 Dec 2024 01:54:56 +0000 Subject: [PATCH] Update check_modules.py Use later version of FastApi that is compatible with pydantic v2 Set allowed version of setuptools to 69.5.1 to clear error on startup --- scripts/check_modules.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check_modules.py b/scripts/check_modules.py index 951ca868..d695ee03 100644 --- a/scripts/check_modules.py +++ b/scripts/check_modules.py @@ -28,7 +28,7 @@ modules_to_check = { "stable-diffusion-sdkit": "2.1.5", "rich": "12.6.0", "uvicorn": "0.19.0", - "fastapi": "0.85.1", + "fastapi": "0.115.6", "pycloudflared": "0.2.0", "ruamel.yaml": "0.17.21", "sqlalchemy": "2.0.19", @@ -100,8 +100,8 @@ def update_modules(): allowed_versions = ("59.8.0",) latest_version = "59.8.0" else: - allowed_versions = ("69.0.0",) - latest_version = "69.0.0" + allowed_versions = ("69.5.1",) + latest_version = "69.5.1" requires_install = False if module_name in ("torch", "torchvision"):