[Snyk] Security upgrade keras from 2.6.0 to 3.12.0#11019
Open
[Snyk] Security upgrade keras from 2.6.0 to 3.12.0#11019
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-KERAS-14152002
Contributor
|
Docs Update Review No documentation updates are needed for this PR. Reason: This is a Snyk security upgrade affecting only |
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="manual-testing-sandbox/requirements.txt">
<violation number="1" location="manual-testing-sandbox/requirements.txt:29">
P2: `keras==3.12.0` is incompatible with the existing `tensorflow==2.6.0` pin, so this dependency set is not installable/reliable as-is.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| # Deep Learning | ||
| torch==2.6.0 | ||
| keras==2.6.0 | ||
| keras==3.12.0 |
Contributor
There was a problem hiding this comment.
P2: keras==3.12.0 is incompatible with the existing tensorflow==2.6.0 pin, so this dependency set is not installable/reliable as-is.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At manual-testing-sandbox/requirements.txt, line 29:
<comment>`keras==3.12.0` is incompatible with the existing `tensorflow==2.6.0` pin, so this dependency set is not installable/reliable as-is.</comment>
<file context>
@@ -26,7 +26,7 @@ spacy==3.1.2
# Deep Learning
torch==2.6.0
-keras==2.6.0
+keras==3.12.0
# Image processing
</file context>
Suggested change
| keras==3.12.0 | |
| keras==2.6.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
manual-testing-sandbox/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:
🦉 Directory Traversal
Continue Tasks: 🔄 1 running · ✅ 6 no changes — View all
Summary by cubic
Upgrade Keras from 2.6.0 to 3.12.0 in manual-testing-sandbox/requirements.txt to fix security issue SNYK-PYTHON-KERAS-14152002. This removes the vulnerability and moves the sandbox to the supported Keras 3 line.
Dependencies
Migration
Written for commit f42f1a3. Summary will update on new commits.