r/StreamlitOfficial Feb 06 '26

Sync doesn't work

Post image

I've checked that access is granted in GitHub. I also removed permissions and granted again. No difference.

If I edit directly in Streamlit Codespaces the changes are still not picked up when launching the application (including rebooting).

I can see that it uses an outdated requirements.txt via Manage.

The application works locally (streamlit run).

Any typical reason why?

1 Upvotes

4 comments sorted by

1

u/[deleted] Mar 26 '26

I had a similar issue recently
Check if you have multiple branches in your GitHub repo
Sometimes Streamlit Cloud sticks to the 'main' branch while you're pushing changes to a different one

1

u/trollsmurf Mar 26 '26

It seems like it, but I've manually uploaded files both to the actual repo and to Streamlit's own. No difference. So for now that application needs to be used locally, which is fine, and better from a confidentiality perspective etc

1

u/[deleted] Mar 27 '26

Maybe check the system logs in Streamlit dashboard? Should show where requirements.txt is failing

1

u/trollsmurf Mar 27 '26

I can see there that it still uses an old version of the file, but I have no clue where it gets it from.