Skip to content

Commit

Permalink
Set min FastAPI version (#9712)
Browse files Browse the repository at this point in the history
* Add code

* add changeset

* fix

* starlette

---------

Co-authored-by: gradio-pr-bot <[email protected]>
  • Loading branch information
freddyaboulton and gradio-pr-bot authored Oct 15, 2024
1 parent c45b466 commit bad46f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cruel-aliens-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"gradio": patch
---

feat:Set min FastAPI version
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
aiofiles>=22.0,<24.0
anyio>=3.0,<5.0
fastapi<1.0
fastapi>=0.115.2,<1.0
ffmpy
gradio_client==1.4.0
httpx>=0.24.1
Expand All @@ -17,6 +17,7 @@ python-multipart>=0.0.9 # required for fastapi forms
pydub
pyyaml>=5.0,<7.0
semantic_version~=2.0
starlette>=0.40.0,<1.0
typing_extensions~=4.0
urllib3~=2.0; sys.platform == 'emscripten' # urllib3 is used for Lite support. Version spec can be omitted because urllib3==2.1.0 is prebuilt for Pyodide and urllib>=2.2.0 supports Pyodide as well.
uvicorn>=0.14.0; sys.platform != 'emscripten'
Expand Down

0 comments on commit bad46f3

Please sign in to comment.