Skip to content

[Snyk] Security upgrade keras from 2.6.0 to 3.14.0#12144

Open
sestinj wants to merge 1 commit intomainfrom
snyk-fix-55559364507aeff6f15e136c4b23f7ec
Open

[Snyk] Security upgrade keras from 2.6.0 to 3.14.0#12144
sestinj wants to merge 1 commit intomainfrom
snyk-fix-55559364507aeff6f15e136c4b23f7ec

Conversation

@sestinj
Copy link
Copy Markdown
Contributor

@sestinj sestinj commented Apr 15, 2026

snyk-top-banner

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.txt
⚠️ Warning
typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you have click 8.1.8.
thinc 8.0.17 requires murmurhash, which is not installed.
thinc 8.0.17 requires preshed, which is not installed.
thinc 8.0.17 requires cymem, which is not installed.
spacy 3.1.2 requires murmurhash, which is not installed.
spacy 3.1.2 requires preshed, which is not installed.
spacy 3.1.2 requires cymem, which is not installed.
qtconsole 5.4.4 requires pyzmq, which is not installed.
notebook 6.5.7 requires pyzmq, which is not installed.
jupyter-server 1.24.0 requires pyzmq, which is not installed.
jupyter-console 6.6.3 requires pyzmq, which is not installed.
jupyter-client 7.4.9 requires pyzmq, which is not installed.
ipykernel 6.16.2 requires pyzmq, which is not installed.
exceptiongroup 1.3.1 has requirement typing-extensions>=4.6.0; python_version < "3.13", but you have typing-extensions 3.10.0.2.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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 keras from 2.6.0 to 3.14.0 in manual-testing-sandbox/requirements.txt to fix SNYK-PYTHON-KERAS-16032293 and bring the sandbox to Keras 3.

  • Migration
    • If code uses tf.keras, verify compatibility or switch imports to keras.
    • Recreate the virtualenv and reinstall requirements to avoid resolver conflicts.

Written for commit 423838f. Summary will update on new commits.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-KERAS-16032293
@sestinj sestinj requested a review from a team as a code owner April 15, 2026 23:31
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 15, 2026
@continue
Copy link
Copy Markdown
Contributor

continue Bot commented Apr 15, 2026

Docs Review

No documentation updates needed for this PR.

Reason: This change upgrades keras from 2.6.0 to 3.14.0 in manual-testing-sandbox/requirements.txt — a security fix for an internal testing dependency. It does not affect user-facing features, APIs, configuration, or any documented functionality.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Fix with Cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants