[Snyk] Security upgrade keras from 2.6.0 to 3.14.0#12144
Open
[Snyk] Security upgrade keras from 2.6.0 to 3.14.0#12144
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-KERAS-16032293
Contributor
Docs ReviewNo documentation updates needed for this PR. Reason: This change upgrades |
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">
P1: `keras==3.14.0` conflicts with the existing `tensorflow==2.6.0` pin, which requires `keras~=2.6`. Update TensorFlow in the same change or keep Keras on a 2.6-compatible version.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
| # Deep Learning | ||
| torch==2.6.0 | ||
| keras==2.6.0 | ||
| keras==3.14.0 |
Contributor
There was a problem hiding this comment.
P1: keras==3.14.0 conflicts with the existing tensorflow==2.6.0 pin, which requires keras~=2.6. Update TensorFlow in the same change or keep Keras on a 2.6-compatible version.
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.14.0` conflicts with the existing `tensorflow==2.6.0` pin, which requires `keras~=2.6`. Update TensorFlow in the same change or keep Keras on a 2.6-compatible version.</comment>
<file context>
@@ -26,7 +26,7 @@ spacy==3.1.2
# Deep Learning
torch==2.6.0
-keras==2.6.0
+keras==3.14.0
# Image processing
</file context>
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:
🦉 Deserialization of Untrusted Data
Summary by cubic
Upgraded
kerasfrom 2.6.0 to 3.14.0 inmanual-testing-sandbox/requirements.txtto fix SNYK-PYTHON-KERAS-16032293 and bring the sandbox to Keras 3.tf.keras, verify compatibility or switch imports tokeras.Written for commit 423838f. Summary will update on new commits.