[Snyk] Security upgrade pygments from 2.17.2 to 2.20.0#16
Open
noom-snyk-bot wants to merge 1 commit into
Open
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-15746419
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.
| sphinx==2.3.1 | ||
| sphinx_rtd_theme==0.4.3 | ||
| sphinxcontrib-napoleon==0.7 | ||
| pygments>=2.20.0 # not directly required, pinned by Snyk to avoid a vulnerability |
There was a problem hiding this comment.
Pygments 2.20.0 incompatible with project's Python 3.7 environment
Medium Severity
pygments>=2.20.0 requires Python ≥3.9, but the sibling environment.yml specifies python=3.7.6 for the docs build environment, and setup.py declares python_requires='>=3.7'. Installing this requirement under the project's documented Python 3.7 docs environment will fail, breaking documentation builds.
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):
python/docs/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:
🦉 Regular Expression Denial of Service (ReDoS)
Note
Low Risk
Low risk: only adjusts documentation build dependencies by adding a minimum
pygmentsversion to remediate a vulnerability.Overview
Updates
python/docs/requirements.txtto explicitly requirepygments>=2.20.0(previously only indirectly needed via Sphinx) to satisfy Snyk’s security advisory and ensure doc builds pull a non-vulnerable Pygments version.Written by Cursor Bugbot for commit 4a3c849. This will update automatically on new commits. Configure here.