diff --git a/invokeai/version/invokeai_version.py b/invokeai/version/invokeai_version.py index e3e28dc8072..5194ece743d 100644 --- a/invokeai/version/invokeai_version.py +++ b/invokeai/version/invokeai_version.py @@ -1 +1 @@ -__version__ = "6.8.0" +__version__ = "6.8.1" diff --git a/pyproject.toml b/pyproject.toml index 77cdd13db33..ac3d88b364b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,10 @@ dependencies = [ # Core application dependencies, pinned for reproducible builds. "fastapi-events", - "fastapi", + # FastAPI 0.119.0 breaks OpenAPI schema generation for the AnyInvocation class. It's not clear if this is an Invoke, + # FastAPI or pydantic bug. Probably Invoke's, because we are doing something unusual with AnyInvocation. 0.118.3 is + # the last known-good version. + "fastapi== 0.118.3", "huggingface-hub", "pydantic-settings", "pydantic", diff --git a/uv.lock b/uv.lock index 27bd96041aa..4313551b77c 100644 --- a/uv.lock +++ b/uv.lock @@ -728,16 +728,16 @@ wheels = [ [[package]] name = "fastapi" -version = "0.115.14" +version = "0.118.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pydantic" }, { name = "starlette" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/ca/53/8c38a874844a8b0fa10dd8adf3836ac154082cf88d3f22b544e9ceea0a15/fastapi-0.115.14.tar.gz", hash = "sha256:b1de15cdc1c499a4da47914db35d0e4ef8f1ce62b624e94e0e5824421df99739", size = 296263, upload-time = "2025-06-26T15:29:08.21Z" } +sdist = { url = "https://files.pythonhosted.org/packages/44/e0/b2c4c5fed29587f0c0c56cec9b59f2c3ca58fd40e6c96d9a788219662a35/fastapi-0.118.3.tar.gz", hash = "sha256:5bf36d9bb0cd999e1aefcad74985a6d6a1fc3a35423d497f9e1317734633411d", size = 312055, upload-time = "2025-10-10T10:40:18.15Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/53/50/b1222562c6d270fea83e9c9075b8e8600b8479150a18e4516a6138b980d1/fastapi-0.115.14-py3-none-any.whl", hash = "sha256:6c0c8bf9420bd58f565e585036d971872472b4f7d3f6c73b698e10cffdefb3ca", size = 95514, upload-time = "2025-06-26T15:29:06.49Z" }, + { url = "https://files.pythonhosted.org/packages/24/04/2f9e8a965f4214883258a6f716fea324d1b81e97bce6346cfbafffe6b86c/fastapi-0.118.3-py3-none-any.whl", hash = "sha256:8b9673dc083b4b9d3d295d49ba1c0a2abbfb293d34ba210fd9b0a90d5f39981e", size = 97957, upload-time = "2025-10-10T10:40:16.118Z" }, ] [[package]] @@ -1171,7 +1171,7 @@ requires-dist = [ { name = "dnspython" }, { name = "dynamicprompts" }, { name = "einops" }, - { name = "fastapi" }, + { name = "fastapi", specifier = "==0.118.3" }, { name = "fastapi-events" }, { name = "gguf" }, { name = "gprof2dot", marker = "extra == 'dev'" },