[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.5#489
[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.5#489robertatakenaka wants to merge 1 commit intomainfrom
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843
There was a problem hiding this comment.
Pull request overview
This PR upgrades Werkzeug from version 2.2.3 to 3.1.5 to address security vulnerability SNYK-PYTHON-WERKZEUG-14908843, as identified by Snyk's automated security scanning.
Changes:
- Upgraded Werkzeug dependency from 2.2.3 to 3.1.5 in local development requirements
💡 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.5 # https://github.com/pallets/werkzeug |
There was a problem hiding this comment.
This is a major version upgrade from Werkzeug 2.2.3 to 3.1.5. Werkzeug 3.x introduced several breaking changes that may affect compatibility with django-extensions 3.2.1 (currently used in this project). The django-extensions package uses Werkzeug for its runserver_plus command, which is actively used in the local development environment (see compose/local/django/start).
Before merging this PR, it's recommended to:
- Test the local development environment thoroughly, especially the runserver_plus command
- Consider upgrading django-extensions to a version that officially supports Werkzeug 3.x
- Verify that all development server features (debugging, auto-reload, etc.) work as expected
If compatibility issues arise, you may need to either pin Werkzeug to a 2.x version that addresses the security vulnerability, or upgrade django-extensions first.
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.