md896 commited on
Commit
d9b6c59
·
1 Parent(s): f7153ad

Fix Space pip resolve: fastapi>=0.115.2, python-multipart>=0.0.18, pin gradio 5.50.0.

Browse files

Resolves conflicts between pinned fastapi 0.115.0 / multipart 0.0.9 and Gradio 5.x deps.

Made-with: Cursor

Files changed (1) hide show
  1. requirements.txt +6 -4
requirements.txt CHANGED
@@ -1,10 +1,12 @@
1
- fastapi==0.115.0
 
2
  uvicorn[standard]==0.30.6
3
  pydantic==2.9.2
4
  openenv-core>=0.1.0
5
  openai>=2.0.0
6
  httpx>=0.27.0
7
- python-multipart==0.0.9
8
- # Gradio <5.7.1 breaks with huggingface_hub>=1 (HfFolder removed from hub).
9
- gradio>=5.7.1,<6
 
10
 
 
1
+ # Gradio 5.7+ requires fastapi>=0.115.2 (0.115.0 conflicts with resolver).
2
+ fastapi>=0.115.2,<0.116
3
  uvicorn[standard]==0.30.6
4
  pydantic==2.9.2
5
  openenv-core>=0.1.0
6
  openai>=2.0.0
7
  httpx>=0.27.0
8
+ # Gradio 5.8+ requires python-multipart>=0.0.18 (0.0.9 conflicts).
9
+ python-multipart>=0.0.18
10
+ # Gradio <5.7.1 breaks with huggingface_hub>=1 (HfFolder removed). Pin for fast Docker resolves.
11
+ gradio==5.50.0
12