Hi everyone,
My app requires Python 3.11 due to a dependency (docling
). I’ve placed a runtime.txt
file in the root of my GitHub repo with the content python-3.11
.
- Repo:
https://github.com/impensjonathan/ai-quiz-tutor-upload
- Deployed App:
https://ai-quiz-tutor-upload.streamlit.app/
However, the Streamlit Community Cloud deployment logs consistently show it’s building and running with Python 3.13.3 (e.g., “Using Python 3.13.3 environment…”), which causes my app to fail with torch
and asyncio
runtime errors.
I’ve confirmed runtime.txt
is correct in the main
branch and have tried pushing new commits to trigger rebuilds.
Any advice on how to ensure Streamlit Cloud respects the python-3.11
in runtime.txt
? Is there something I might be missing?
Thanks!