Skip to content

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

Open
nicholas-lockhart wants to merge 1 commit into
mainfrom
snyk-fix-7ede2729b5ea0a3073f421f5a9c67d71
Open

[Snyk] Security upgrade requests from 2.25.1 to 2.33.0#39
nicholas-lockhart wants to merge 1 commit into
mainfrom
snyk-fix-7ede2729b5ea0a3073f421f5a9c67d71

Conversation

@nicholas-lockhart
Copy link
Copy Markdown

@nicholas-lockhart nicholas-lockhart 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):

  • requirements.txt
⚠️ Warning
tensorboard 2.4.1 has requirement setuptools>=41.0.0, but you have setuptools 40.5.0.
scikit-learn 1.0.2 requires scipy, which is not installed.

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


Note

Low Risk
Low risk dependency bump to address a known vulnerability; potential impact is limited to code paths that rely on requests HTTP behavior.

Overview
Upgrades the Python requests dependency in requirements.txt from 2.25.1 to 2.33.0 to remediate a reported security vulnerability.

Written by Cursor Bugbot for commit 103bbce. This will update automatically on new commits. Configure here.

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

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Incompatible pinned certifi version with new requests version
    • Updated certifi in requirements.txt from 2020.12.5 to 2023.5.7 to satisfy requests==2.33.0 dependency constraints.

Create PR

Or push these changes by commenting:

@cursor push 1363a2deae
Preview (1363a2deae)
diff --git a/requirements.txt b/requirements.txt
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
 absl-py==0.11.0
 cachetools==4.2.1
-certifi==2020.12.5
+certifi==2023.5.7
 chardet==4.0.0
 dateparser==1.0.0
 focal-loss-torch==0.0.7

This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

Comment thread requirements.txt
pytz==2021.1
regex==2020.11.13
requests==2.25.1
requests==2.33.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incompatible pinned certifi version with new requests version

High Severity

Upgrading requests to 2.33.0 introduces a dependency conflict because requests==2.33.0 requires certifi>=2023.5.7, but certifi==2020.12.5 is pinned on line 3. This will cause pip dependency resolution to fail at install time, preventing the environment from being built.

Fix in Cursor Fix in Web

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