Dear Hugging Face Support Team,
I’m reporting a critical platform bug affecting Hugging Face Spaces where the system is completely ignoring sdk: gradio configuration in README.md files and forcing Docker builds with obsolete Python versions.
Problem Description
Multiple newly created Spaces are ignoring the sdk: gradio setting in their README.md configuration and instead attempting Docker builds with pyenv install 3.1 (Python 3.1.5), which fails due to the obsolete Python version.
Evidence & Reproduction Steps
Affected Spaces:
-
“tuc111/financy-PM-1-demo” (original)
-
“tuc111/financy-PM-1-1-demo” (recreated)
-
“tuc111/financy-PM-1-demo-1” (third attempt)
Configuration in README.md (verified in all repositories):
title: AI Financial Portfolio Advisor
emoji: 
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.20.0
app_file: app.py
python_version: 3.10
What Should Happen: Gradio SDK build process with Python 3.10
What Actually Happens: Docker build process attempting pyenv install 3.1
Build Log Evidence:
→ RUN pyenv install 3.1 && pyenv global 3.1 && pyenv rehash
Downloading Python-3.1.5.tar.gz…
Installing Python-3.1.5…
[Build fails with segmentation fault]
Verification Steps Taken
-
Verified README.md contents - All repositories correctly specify sdk: gradio and python_version: 3.10
-
Confirmed no Dockerfile present - Used git ls-tree to verify no Docker configuration files exist
-
Multiple Space recreation attempts - Created 3 different Spaces from scratch, all exhibit identical behavior
-
Git repository verification - Confirmed all files pushed successfully to Space repositories
-
Manual file verification - Used git show to verify Space repositories contain correct configuration
Impact Assessment
-
Severity: Critical - Platform unusable for Gradio applications
-
Scope: Affects new Space creation with Gradio SDK
-
User Impact: Unable to deploy Gradio applications on Hugging Face Spaces
-
Duration: Ongoing for several hours across multiple Space creation attempts
System Behavior Analysis
The platform appears to have a configuration override or caching issue where:
-
Space creation process ignores README.md SDK settings
-
Default Docker configuration is applied regardless of specified SDK
-
Obsolete Python 3.1 installation is attempted instead of specified Python 3.10
-
Issue persists across completely new Space creations
Additional Context
This issue began occurring today (July 25, 2025) and has been consistent across multiple attempts. The same repository configuration worked previously, suggesting a recent platform regression.
Requested Action
Please investigate this critical platform bug urgently as it’s preventing users from creating functional Gradio Spaces. This appears to be a server-side configuration or caching issue that requires platform-level resolution.
I’m available to provide additional debugging information, repository access, or testing assistance as needed.
Thank you for your prompt attention to this critical issue.
Best regards,
Emmitt Tucker
Username: tuc111