diff --git a/pyproject.toml b/pyproject.toml index 45bc9c645..23b905b45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ ] dependencies = [ "aiohttp", - "fastapi", + "fastapi>=0.115.0,<1.0", "fire", "httpx", "huggingface-hub", diff --git a/uv.lock b/uv.lock index d7d09c87f..b730772fd 100644 --- a/uv.lock +++ b/uv.lock @@ -1561,7 +1561,7 @@ unit = [ [package.metadata] requires-dist = [ { name = "aiohttp" }, - { name = "fastapi" }, + { name = "fastapi", specifier = ">=0.115.0,<1.0" }, { name = "fire" }, { name = "h11", specifier = ">=0.16.0" }, { name = "httpx" },