[Snyk] Security upgrade werkzeug from 0.16.0 to 3.1.4#3
[Snyk] Security upgrade werkzeug from 0.16.0 to 3.1.4#3NewthingAde wants to merge 1 commit intomainfrom
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14151620
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| scipy==1.3.1 | ||
| six==1.12.0 | ||
| Werkzeug==0.16.0 | ||
| Werkzeug==3.1.4 |
There was a problem hiding this comment.
Bug: Werkzeug 3.x incompatible with Flask 1.0.2
Upgrading Werkzeug from 0.16.0 to 3.1.4 while keeping Flask==1.0.2 creates an incompatible dependency combination. Flask 1.0.2 was designed for Werkzeug 0.x and relies on internal APIs that have been removed or renamed in Werkzeug 3.x. This will cause runtime import errors when Flask attempts to use Werkzeug modules that no longer exist. The PR description's warning "Flask 1.0.2 requires Werkzeug, which is not installed" indicates this conflict. Flask needs to be upgraded to a compatible version (2.x or 3.x) alongside this Werkzeug upgrade.
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
Upgrade
Werkzeuginrequirements.txtfrom0.16.0to3.1.4.Written by Cursor Bugbot for commit 92c6daa. This will update automatically on new commits. Configure here.