Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-FLASK-15322678 - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-15322677
|
This is a major version upgrade for both Flask and its core dependency, Werkzeug, introducing significant breaking changes that require developer action. Flask: 1.0.4 → 3.1.3 (High Risk)This upgrade spans two major versions (v1 → v3) and includes several breaking changes. Key Changes:
Werkzeug: 2.2.3 → 3.1.6 (High Risk)The upgrade to Werkzeug 3.x is a primary driver of the breaking changes in Flask 3.x. Key Changes:
Recommendation: This upgrade requires significant testing and code modification. Developers must ensure their environment uses a supported Python version (3.9+). Code should be audited for usage of removed functions and updated to use the new APIs, particularly for configuration loading, header parsing, and interactions with the test client. Given the number of breaking changes, this upgrade should be handled as a dedicated refactoring effort.
|
Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements/base.txtBreaking Change Risk
Important
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.