Skip to content

Fix Hugging Face Space dependency resolution#22

Merged
ProfRandom92 merged 1 commit into
mainfrom
fix/hf-space-runtime-20260716
Jul 16, 2026
Merged

Fix Hugging Face Space dependency resolution#22
ProfRandom92 merged 1 commit into
mainfrom
fix/hf-space-runtime-20260716

Conversation

@ProfRandom92

Copy link
Copy Markdown
Owner

Pins huggingface_hub to the pre-1.0 compatibility range required by the currently pinned Gradio 5.44.1 runtime. This prevents fresh Space builds from resolving Hub 1.x and crashing during Gradio startup on removed compatibility imports such as HfFolder.

Scope: only hf_space/requirements.txt.

The merge triggers the existing Hugging Face deployment workflow.

@ProfRandom92
ProfRandom92 merged commit 3d5f053 into main Jul 16, 2026
0 of 6 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the huggingface_hub dependency (version >=0.26.0,<1.0) to the hf_space/requirements.txt file. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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