[Snyk] Security upgrade werkzeug from 1.0.1 to 3.1.5#35
Open
ashmuck wants to merge 1 commit into
Open
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843
| tzlocal==2.1 | ||
| urllib3==1.26.3 | ||
| Werkzeug==1.0.1 | ||
| Werkzeug==3.1.5 |
There was a problem hiding this comment.
Werkzeug 3.x incompatible with tensorboard 2.4.1
Medium Severity
Upgrading Werkzeug from 1.0.1 to 3.1.5 introduces a dependency incompatibility with tensorboard==2.4.1. TensorBoard 2.4.1 (from early 2021) uses internal werkzeug APIs that were removed in werkzeug 2.x/3.x, causing ImportError exceptions (e.g., cannot import name '_plain_int' from 'werkzeug._internal') when running the TensorBoard web server. The codebase uses SummaryWriter for logging training metrics, and while log writing may still work, users attempting to view metrics via tensorboard command will encounter runtime failures. Either tensorboard needs to be upgraded alongside werkzeug, or werkzeug's version constraint needs adjustment.
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):
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.
Note
Security dependency upgrade
Werkzeuginrequirements.txtfrom1.0.1to3.1.5.Written by Cursor Bugbot for commit 345a419. This will update automatically on new commits. Configure here.