Streamlit cloud app keeps reverting to an older version of streamlit

My cloud app keeps reverting to an older streamlit version.
When I reboot my app, all the packages are upgraded correctly and everything works, including streamlit’s new popover function.

However, after a few minutes, the app automatically downgrades streamlit. Why does this happen and how do I fix it?

WARNING: You are using pip version 22.0.3; however, version 24.0 is available.

You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.

Checking if Streamlit is installed
Found Streamlit version 1.32.1 in the environment
Streamlit 1.32.1 is present. Downgrading it to 1.31.1
Collecting streamlit==1.31.1

Does this have something to do with my dependencies?

requirements.txt

psycopg2-binary
sqlalchemy
pandas
openpyxl
matplotlib
plotly
numpy
folium
1 Like

Hi Frank! Sorry for that, we’re forcefully downgrading Streamlit to 1.31.1 because we found an issue that leads to excessive CPU consumption in 1.32.0. We’re waiting for confirmation that the issue is resolved in 1.32.1. If we confirm that it is resolved, we will unpin it in the following days.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.