Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions requirements.extra.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
networkx==2.4
pydot==1.4.1
streamlit==0.75.0
streamlit==1.54.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version bump breaks removed st.beta_columns API

High Severity

Upgrading streamlit from 0.75.0 to 1.54.0 breaks the application because the codebase uses st.beta_columns (in project/interface/train.py, project/run_mnist_interface.py, project/sentiment_interface.py), which was removed in newer Streamlit versions and replaced with st.columns. This will cause AttributeError: module 'streamlit' has no attribute 'beta_columns' at runtime, crashing the Streamlit app. The @st.cache decorator with allow_output_mutation=True used in project/sentiment_interface.py is also deprecated and may fail. The code needs to be updated to use the current Streamlit API before this version bump can land safely.

Fix in CursorΒ Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Revert Streamlit major bump until beta_ calls are migrated*

Pinning streamlit==1.54.0 introduces a runtime break in the project UIs because the codebase still calls beta-prefixed APIs such as st.beta_columns and st.beta_expander (for example in project/tensor_interface.py and project/run_mnist_interface.py), which are not available in modern Streamlit releases. With this dependency change, those pages raise AttributeError when rendered, so the interactive tooling in project/ no longer works without additional code migration.

Useful? React with πŸ‘Β / πŸ‘Ž.

watchdog==1.0.2
plotly==4.14.3
python-mnist
torch==1.6.0
datasets==1.15.1
embeddings==0.0.8
embeddings==0.0.8
requests>=2.33.0 # not directly required, pinned by Snyk to avoid a vulnerability
Loading