Skip to content

Conversation

@ayusuf-mq
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):

  • samples/server/petstore/python-flask/requirements.txt

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.

…vulnerabilities

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-14908843
@ayusuf-mq
Copy link
Author

Merge Risk: High

This major version upgrade from 2.2.3 to 3.1.5 introduces significant breaking changes by removing deprecated code and altering core functionalities. Python 3.7 is no longer supported.

Highlights:

  • Test Client Changes: The test client now returns TestResponse objects instead of tuples. Code that accessed response data via tuple indexing will need to be updated to use object properties.
  • Removed APIs: Previously deprecated code has been removed, including Request.disable_data_descriptor, HTTPException.wrap, cookie_date, and the __version__ attribute.

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

3 participants