Compare commits

...

3 Commits

Author SHA1 Message Date
psychedelicious
b673b2f807 chore: uv lock 2025-10-12 14:13:11 +11:00
psychedelicious
d6edd25cf9 chore: bump version to v6.8.1 2025-10-12 14:07:44 +11:00
psychedelicious
ceb3ef38ed fix: schema generation bug in fastapi 0.119.0
Couldn't figure out a quick and easy fix. Needs some pydantic/FastAPI
fanagling. For now, roll back to last good version.
2025-10-12 14:07:31 +11:00
3 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
__version__ = "6.8.0"
__version__ = "6.8.1"

View File

@@ -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",

8
uv.lock generated
View File

@@ -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'" },