[Snyk] Fix for 2 vulnerabilities#32
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-TORCH-13052805 - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14896210
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file | ||
| wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| torch>=2.9.0 # not directly required, pinned by Snyk to avoid a vulnerability | ||
| urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file |
There was a problem hiding this comment.
Major torch version conflicts with pytorch-lightning dependency
High Severity
The torch>=2.9.0 requirement is incompatible with the existing pytorch-lightning==1.6.0rc0 dependency. PyTorch Lightning 1.6 was released in early 2022 and designed for PyTorch 1.x (the README explicitly documents using torch==1.9.0). PyTorch 2.x introduced significant breaking API changes. Additionally, PyTorch 2.x requires Python 3.9+, but this project's README recommends Python 3.7. This version conflict will likely cause installation failures or runtime errors.
Snyk has created this PR to fix 2 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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Note
Updates dependency pins in
requirements.txtto remediate reported vulnerabilities.torchto>=2.9.0andurllib3to>=2.6.3wheel>=0.38.0pinWritten by Cursor Bugbot for commit 09a91f1. This will update automatically on new commits. Configure here.