Skip to content

Conversation

@tot-ra
Copy link

@tot-ra tot-ra commented Nov 16, 2025

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.11.2 has requirement setuptools>=41.0.0, but you have setuptools 40.5.0.
ddtrace 2.0.2 has requirement psutil~=5.8, but you have psutil 7.1.3.

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.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORCH-13052971
@github-actions
Copy link

From the provided git diff, it seems that there are no code changes but changes in the requirements.txt file. The PyTorch version was updated from 1.7.0 to 2.9.0.

However, the warning states that tensorboard 2.11.2 requires setuptools>=41.0.0, but setuptools 40.5.0 is installed. Also, ddtrace 2.0.2 has a requirement psutil~=5.8, but psutil 7.1.3 is installed.

Here are the suggested fixes:

Importance File Path Line Number(s) Comment
🔴 requirements.txt - Upgrade setuptools to a version >=41.0.0 to meet tensorboard's requirements
🔴 requirements.txt - Downgrade psutil to a version ~=5.8 to meet ddtrace's requirements

Please adjust the versions in the requirements.txt file accordingly to avoid potential issues.

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.

3 participants