When I created my streamlit sharing app a few months ago I used streamlit version 0.76 and pandas version 1.2.4. I just included streamlit==0.76.0 in the requirements file because pandas is automatically included in streamlit.
Last week I noticed that my streamlit sharing app had an error with dataframe styling
(similar to this one: Strange error: unable to understand what it means - streamlit)
and I found out that the reason for it was an issue with the new pandas version 1.3.0 which was released on 2 July.
This issue has already been solved.
I repaired my streamlit sharing app by including pandas==1.2.4 in the requirements file, I also upgraded to the latest streamlit version 0.84.0.
But now I wonder if it would be better to also include all other library versions in my requirements file to avoid unexpected errors in future.
What is the recommendation?