[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.4#454
[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.4#454robertatakenaka 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.
Pull request overview
This PR upgrades Werkzeug from version 2.2.3 to 3.1.4 in the local development requirements to address security vulnerability SNYK-PYTHON-WERKZEUG-14151620. However, this major version upgrade introduces potential compatibility risks with existing dependencies, particularly Flower 1.2.0 (Celery monitoring tool) which depends on Werkzeug through Flask.
Key Changes:
- Upgraded Werkzeug to 3.1.4 in local.txt to fix a security vulnerability
- Major version jump (2.x → 3.x) introduces breaking changes that may affect transitive dependencies
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| -r base.txt | ||
|
|
||
| Werkzeug==2.2.3 # https://github.com/pallets/werkzeug | ||
| Werkzeug==3.1.4 # https://github.com/pallets/werkzeug |
There was a problem hiding this comment.
Upgrading Werkzeug from 2.2.3 to 3.1.4 may cause compatibility issues with Flower 1.2.0 (defined in base.txt). Werkzeug 3.x introduced breaking changes, and Flower 1.2.0 (released in 2022) was built for Werkzeug 2.x. This could break the Flower monitoring dashboard used in the celeryworker service.
Consider either:
- Testing Flower extensively after this upgrade to ensure it still works
- Upgrading Flower to version 2.0.0 or later (which supports Werkzeug 3.x) alongside this change
- Pinning Werkzeug to a patched 2.x version (e.g., 2.3.8) that addresses the security vulnerability without breaking compatibility
| Werkzeug==3.1.4 # https://github.com/pallets/werkzeug | |
| Werkzeug==2.3.8 # https://github.com/pallets/werkzeug |
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements/local.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.