[Snyk] Security upgrade protobuf from 4.24.4 to 5.29.6#403
[Snyk] Security upgrade protobuf from 4.24.4 to 5.29.6#403hashim21223445 wants to merge 1 commit into
Conversation
…rements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PROTOBUF-15090738
Summary of ChangesHello @hashim21223445, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request automates a critical security update by upgrading the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
There was a problem hiding this comment.
Code Review
This pull request, automatically generated by Snyk, upgrades the protobuf package to version 5.29.6 to fix a security vulnerability. While the security upgrade is important, this change as-is will break your application due to a critical dependency conflict with the streamlit package. Your application code uses APIs that were deprecated and removed in older versions of streamlit, indicating that a simple version bump is not possible without code refactoring. I have left a critical comment detailing the issue and the necessary steps to resolve it. I've also added a medium-severity comment to add a newline at the end of the requirements.txt file, which is a common best practice.
| matplotlib | ||
| urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file | ||
| urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| protobuf>=5.29.6 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file |
There was a problem hiding this comment.
This automated upgrade of protobuf to version 5.29.6 will cause a dependency conflict and break your application.
Your application code in app.py uses st.beta_columns, an API that was removed in streamlit 1.0.0. This indicates you are using a streamlit version older than 1.0.0. These older versions require protobuf~=3.x and are incompatible with protobuf 5.x being introduced in this PR.
Attempting to install these dependencies together will result in an error.
To fix the security vulnerability in protobuf, you will need to:
- Upgrade the
streamlitpackage to a version compatible with modernprotobuf(e.g.,streamlit >= 1.34.0is compatible withprotobuf 5.x). - Refactor your application code (
app.py) to replace deprecated APIs likest.beta_columnswith their current equivalents (e.g.,st.columns).
Given the required code changes, I recommend closing this automated PR and creating a new one to perform the streamlit upgrade and associated refactoring.
| matplotlib | ||
| urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file | ||
| urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| protobuf>=5.29.6 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file |
There was a problem hiding this comment.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
23 similar comments
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Make sure a JIRA issue is mentioned in the titleWaiting for
This rule is failing.Make sure PR title contains a JIRA issue
🔴 Enforce conventional commitWaiting for
This rule is failing.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🔴 Force ticket associationWaiting for
This rule is failing.Make sure PR has a ticket associated
🟠 Merge during working hoursWaiting for
Waiting for schedule condition.Make sure to merge only during working hours
|
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
Machine Learning Model - Deployment/Olympics-data-analysis/requirements.txtImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.