Skip to content

[Snyk] Security upgrade requests from 2.25.1 to 2.33.0#28

Open
mandibles232 wants to merge 1 commit intomasterfrom
snyk-fix-89301990a8a46843b19d5353d22284b7
Open

[Snyk] Security upgrade requests from 2.25.1 to 2.33.0#28
mandibles232 wants to merge 1 commit intomasterfrom
snyk-fix-89301990a8a46843b19d5353d22284b7

Conversation

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

  • requirements.txt
⚠️ Warning
matplotlib 3.3.3 requires numpy, which is not installed.

Breaking Change Risk

Merge Risk: High

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

Merge Risk: High

This upgrade of requests from version 2.25.1 to 2.33.0 introduces several significant changes, including dropped support for older Python versions and a breaking API change for users of custom HTTPAdapters.

Key Breaking Changes:

  • Python Version Support Dropped: Support for Python 3.7 and 3.8 has been removed. Python 3.7 reached its end-of-life in June 2023, and Python 3.8 in October 2024. Projects running on these versions must upgrade their Python environment. [4, 5]

  • HTTPAdapter API Change: In version 2.32.2, the internal method _get_connection was replaced with a new public API, get_connection_with_tls_context. The old get_connection method is now deprecated. [4, 8, 11]

Recommendation:

  • Verify Python Version: Ensure your project is running on Python 3.9 or newer. [1, 2]
  • Review Custom Adapters: If you use custom HTTPAdapter subclasses, you must update your code to use the new get_connection_with_tls_context method instead of _get_connection to avoid breakage. [4, 8]

Source: Release History

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