Skip to content

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

Open
jannastorable wants to merge 1 commit intomasterfrom
snyk-fix-88ecd5f0c7bd182da7438f719a34b92d
Open

[Snyk] Security upgrade werkzeug from 2.2.3 to 3.1.5#3
jannastorable wants to merge 1 commit intomasterfrom
snyk-fix-88ecd5f0c7bd182da7438f719a34b92d

Conversation

@jannastorable
Copy link

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):

  • test_requirements.txt
⚠️ Warning
Flask 2.2.5 requires Werkzeug, which is not installed.
coveralls 3.3.1 has requirement coverage!=6.0.*,!=6.1,!=6.1.1,<7.0,>=4.1, but you have coverage 7.2.7.

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
@jannastorable
Copy link
Author

Merge Risk: High

This major version upgrade to Werkzeug 3.x removes multiple deprecated APIs and changes the behavior of core components. It requires Python 3.8+ and introduces significant breaking changes that necessitate code modifications.

Highlights:

  • Test Client Changes: The test client no longer behaves like a tuple. Access response data using properties like response.data instead of by index.
  • Removed APIs: Request.disable_data_descriptor, HTTPException.wrap, cookie_date, and locals.get_ident have been removed. The python -m werkzeug.serving CLI is also gone.

Source: Werkzeug documentation
Recommendation: Review the official changelog for a full list of removals and update code to use modern 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