-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Fix for 2 vulnerabilities #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Pinning 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 | ||
There was a problem hiding this comment.
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_columnsAPIHigh Severity
Upgrading
streamlitfrom0.75.0to1.54.0breaks the application because the codebase usesst.beta_columns(inproject/interface/train.py,project/run_mnist_interface.py,project/sentiment_interface.py), which was removed in newer Streamlit versions and replaced withst.columns. This will causeAttributeError: module 'streamlit' has no attribute 'beta_columns'at runtime, crashing the Streamlit app. The@st.cachedecorator withallow_output_mutation=Trueused inproject/sentiment_interface.pyis also deprecated and may fail. The code needs to be updated to use the current Streamlit API before this version bump can land safely.