-
Notifications
You must be signed in to change notification settings - Fork 7
[Snyk] Fix for 2 vulnerabilities #85
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: main
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,4 +4,6 @@ onnxruntime==1.12.1 | |||||||||
| streamlit==1.13.0 | ||||||||||
| transformers==4.22.2 | ||||||||||
| diffusers==0.4.0 | ||||||||||
| torch==1.10.0+cpu | ||||||||||
| torch==1.10.0+cpu | ||||||||||
| protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability | ||||||||||
| zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability | ||||||||||
|
Comment on lines
+8
to
+9
|
||||||||||
| protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability | |
| zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability | |
| protobuf==6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability | |
| zipp==3.19.1 # 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.
The PR description shows warnings that multiple dependencies require protobuf but it's "not installed": transformers 4.22.2, streamlit 1.13.0, onnxruntime 1.12.1, and onnx 1.12.0. This suggests that upgrading protobuf to a much newer version (from 3.20.1 to 6.x/5.x) may introduce compatibility issues with these older packages. These packages were released in 2022 and likely expect protobuf 3.x. Before merging, verify that the new protobuf version is compatible with onnx==1.12.0, onnxruntime==1.12.1, streamlit==1.13.0, and transformers==4.22.2, or consider upgrading these dependencies as well.