X Tutup
Skip to content

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

Open
jhamot wants to merge 1 commit intomasterfrom
snyk-fix-cf4f1a2c223d9566d228c3225753780c
Open

[Snyk] Security upgrade requests from 2.31.0 to 2.33.0#7
jhamot wants to merge 1 commit intomasterfrom
snyk-fix-cf4f1a2c223d9566d228c3225753780c

Conversation

@jhamot
Copy link
Copy Markdown
Owner

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

  • doc/requirements.txt
⚠️ Warning
sphinx 5.3.0 requires requests, which is not installed.
furo 2023.8.17 has requirement sphinx<8.0,>=6.0, but you have sphinx 5.3.0.

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
@jhamot
Copy link
Copy Markdown
Owner Author

jhamot 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.

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

X Tutup