Skip to content

[Snyk] Fix for 2 vulnerabilities#32

Open
ZiYang-xie wants to merge 1 commit intomainfrom
snyk-fix-fa9a319b177f7f1b90ff94a5d1b634ae
Open

[Snyk] Fix for 2 vulnerabilities#32
ZiYang-xie wants to merge 1 commit intomainfrom
snyk-fix-fa9a319b177f7f1b90ff94a5d1b634ae

Conversation

@ZiYang-xie
Copy link
Copy Markdown
Owner

@ZiYang-xie ZiYang-xie commented Jan 9, 2026

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Updates dependency pins in requirements.txt to remediate reported vulnerabilities.

  • Pins torch to >=2.9.0 and urllib3 to >=2.6.3
  • Retains wheel>=0.38.0 pin

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

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.

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.

Comment thread requirements.txt
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
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

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