Skip to content

[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.5#32

Open
jhamot wants to merge 1 commit into
mainfrom
snyk-fix-5370cded4c1973c54b5c7720698d036d
Open

[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.5#32
jhamot wants to merge 1 commit into
mainfrom
snyk-fix-5370cded4c1973c54b5c7720698d036d

Conversation

@jhamot

@jhamot jhamot commented Jan 9, 2026

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • examples/server/wsgi/requirements.txt
⚠️ Warning
Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.0.
Flask 1.0.2 requires Werkzeug, which is not installed.
eventlet 0.35.2 has requirement greenlet>=1.0, but you have greenlet 0.4.12.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843
@jhamot

jhamot commented Jan 9, 2026

Copy link
Copy Markdown
Owner Author

Merge Risk: High

This major version upgrade from Werkzeug 2.x to 3.x introduces significant breaking changes, including dropping support for Python < 3.8 and removing multiple deprecated APIs. Code modifications are required for compatibility.

Highlights:

  • Removed APIs: werkzeug.utils.cached_property has been removed; use functools.cached_property instead. The werkzeug.local module is also removed; import Local, LocalStack, and LocalProxy directly from werkzeug.
  • run_simple arguments removed: Many arguments to run_simple (like use_reloader, use_debugger, threaded) have been removed. A werkzeug.serving.Server instance must be configured and used instead.

Source: Werkzeug documentation.
Recommendation: Developers must carefully review the Werkzeug 3.0 changelog and update their code to replace removed utilities and adapt to new configuration patterns before merging.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants