[Snyk] Security upgrade nbconvert from 5.6.1 to 7.17.0#154
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-NBCONVERT-14463457
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
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.
| mccabe==0.6.1 | ||
| mistune==2.0.3 | ||
| nbconvert==5.6.1 | ||
| nbconvert==7.17.0 |
There was a problem hiding this comment.
Dependency upgrade breaks due to incompatible pinned sub-dependencies
High Severity
Upgrading nbconvert to 7.17.0 without bumping its pinned dependencies causes installation failure or runtime errors. nbconvert 7.x requires Jinja2>=3.0 (pinned at 2.11.3), nbformat>=5.7 (pinned at 5.0.4), traitlets>=5.1 (pinned at 4.3.3), jupyter-core>=4.7 (pinned at 4.6.3), MarkupSafe>=2.0 (pinned at 1.1.1), and jupyter-client>=6.1.12 (pinned at 6.0.0). All of these need to be upgraded together.


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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Note
Medium Risk
Dependency-only change, but it’s a major-version upgrade of
nbconvertthat may require newerjinja2/jupyter-*/traitletsversions and could break notebook export workflows if the rest of the environment remains pinned.Overview
Upgrades the pinned
nbconvertdependency inrequirements.txtfrom5.6.1to7.17.0to address a reported security vulnerability.Written by Cursor Bugbot for commit a961224. This will update automatically on new commits. Configure here.