[Snyk] Security upgrade requests from 2.25.1 to 2.33.0#39
Open
nicholas-lockhart wants to merge 1 commit into
Open
[Snyk] Security upgrade requests from 2.25.1 to 2.33.0#39nicholas-lockhart wants to merge 1 commit into
nicholas-lockhart wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-15763443
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Incompatible pinned certifi version with new requests version
- Updated
certifiinrequirements.txtfrom 2020.12.5 to 2023.5.7 to satisfyrequests==2.33.0dependency constraints.
- Updated
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.7This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
| pytz==2021.1 | ||
| regex==2020.11.13 | ||
| requests==2.25.1 | ||
| requests==2.33.0 |
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements.txtImportant
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
requestsHTTP behavior.Overview
Upgrades the Python
requestsdependency inrequirements.txtfrom2.25.1to2.33.0to remediate a reported security vulnerability.Written by Cursor Bugbot for commit 103bbce. This will update automatically on new commits. Configure here.