Skip to content

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Dec 7, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • samples/client/petstore-security-test/python/requirements.txt

Merge Risk: High

This minor version upgrade contains breaking changes. Version 2.6.0 removes methods that were deprecated since version 2.0.0.

Breaking Changes:

  • HTTPResponse.getheaders() has been removed. Use the HTTPResponse.headers attribute instead. [1, 9]
  • HTTPResponse.getheader() has been removed. Use HTTPResponse.headers.get() instead. [1, 9]
  • The API for custom content decoders has changed. [1]

Source: urllib3 Changelog
Recommendation: Search your codebase for .getheaders() and .getheader() calls on urllib3 responses and refactor them to use the .headers dictionary-like attribute before merging.

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



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:

🦉 Allocation of Resources Without Limits or Throttling

@snyk-io
Copy link
Author

snyk-io bot commented Dec 7, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

1 participant