Error with st.popover

Does anyone know if there is an error with st.popover? I see an error on the documentation page.

st.popover is available only for streamlit>=1.32.0.

1 Like

Hi @Yusuf :wave:

This is a known issue and should ideally be resolved by EOD March 18.

We’ve discovered an inefficient use of CPU for Streamlit version 1.32.0 and 1.32.1. Apps deployed on Community Cloud are temporarily capped at version 1.31.1. Patch 1.32.2 has been released on PyPi and is available for development. The limitation for Community Cloud is expected to be lifted on Monday, March 18.

As st.popover is available in versions >=1.32.0, the app throws an exception since it is using version 1.31.1. This issue should be resolved ideally by EOD.

I still can’t seem to use st.popover for some reason. I got AttributeError: module 'streamlit' has no attribute 'popover'. I use 1.34.0. Do you have any guesses about what might cause the issue?

Hi @snehankekre, I have an issue with the Streamlit version. Although my requirements.txt file has the latest version of Streamlit (1.35.0), it persistently forces me to downgrade the app to 1.31.1. I rebooted the app but it didn’t resolve the issue. Would you be able to advise where to look to get this sorted?

Here are the libraries in my app:

streamlit==1.35.0
pandas==2.2.1
pyzotero==1.5.5
PyQt6==6.6.1
IPython==6.0
NumPy==1.23.0
Altair==4.2.0
streamlit-extras==0.4.3
plotly==5.13.1
nltk==3.8.1
wordcloud==1.9.3
gsheetsdb==0.1.13.1
fpdf2==2.6.1
gspread==5.7.2
Pillow==9.5.0

Thanks

I deployed an app with those requirements without issues.

The app is deployed without any issues but it is forced to downgrade to 1.31.1. I assume you haven’t had the same problem.

I would call that an issue.

That’s correct.