Skip to content

[Snyk] Security upgrade requests from 2.31.0 to 2.33.0#38

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-6fd15b909404124ba1aa7008b24c3732
Open

[Snyk] Security upgrade requests from 2.31.0 to 2.33.0#38
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-6fd15b909404124ba1aa7008b24c3732

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Mar 26, 2026

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

  • py2_requirements.txt

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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:

🦉 Insecure Temporary File

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-15763443
@snyk-io
Copy link
Author

snyk-io bot commented Mar 26, 2026

Merge Risk: Medium

This upgrade for requests from version 2.31.0 to 2.33.0 introduces several changes that require attention, including dropped support for an older Python version and a notable API method deprecation for advanced users.

Key Changes:

  • Python Version Support: Support for Python 3.7 has been officially dropped as of requests version 2.32.0. Environments still using Python 3.7 (which reached its end-of-life in June 2023) must be upgraded.
  • API Deprecation for Custom Adapters: For users who have created custom HTTPAdapter subclasses, the internal method _get_connection has been deprecated and replaced with a new public API, get_connection_with_tls_context, starting in version 2.32.2. Code using custom adapters may need to be updated to use the new method.
  • Behavioral Change: A SSLContext caching feature introduced in version 2.32.0 was reverted in 2.32.5 due to negative side effects. This restores the previous behavior and may affect performance characteristics for TLS connections.
  • Packaging System: Starting with version 2.33.0, the package is built using hatchling. The maintainers note that this should not impact most users, but very old packaging tools might encounter issues.

Recommendation:
Verify that your environment is running a supported version of Python (3.8+). If you are using custom HTTPAdapter classes, review your implementation to ensure compatibility with the new get_connection_with_tls_context API.

Source: Official Changelog

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

@snyk-io
Copy link
Author

snyk-io bot commented Mar 26, 2026

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

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 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.

0 participants