Skip to content

hotfix(hf-space): pin starlette + fastapi for gradio 4.44.1 - #656

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/hf-space-runtime-pin
Jun 22, 2026
Merged

hotfix(hf-space): pin starlette + fastapi for gradio 4.44.1#656
Flotapponnier merged 1 commit into
mainfrom
hotfix/hf-space-runtime-pin

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Space landed in RUNTIME_ERROR after #651 + #654. gradio 4.44.1 does not constrain starlette / fastapi tightly enough and the latest releases break the Jinja2 template path at boot.

Pinning starlette<0.42 + fastapi<0.116 (versions known to work with gradio 4.44.x).

Space deployed in RUNTIME_ERROR. gradio 4.44.1 does not constrain
starlette / fastapi tightly enough and the latest releases (starlette
0.42+, fastapi 0.116+) break the Jinja2 template path at boot. Pinning
to the bands known to work with gradio 4.44.x.
@Flotapponnier
Flotapponnier merged commit 5df2903 into main Jun 22, 2026
@Flotapponnier
Flotapponnier deleted the hotfix/hf-space-runtime-pin branch July 17, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant