Skip to content

[Snyk] Security upgrade pygments from 2.9.0 to 2.20.0 - #7

Open
ryanmcmorrowsnyk wants to merge 1 commit into
mainfrom
snyk-fix-128ead19ab309a485a837341d52928ab
Open

[Snyk] Security upgrade pygments from 2.9.0 to 2.20.0#7
ryanmcmorrowsnyk wants to merge 1 commit into
mainfrom
snyk-fix-128ead19ab309a485a837341d52928ab

Conversation

@ryanmcmorrowsnyk

Copy link
Copy Markdown
Owner

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
inflect 6.0.5 has requirement pydantic<2,>=1.9.1, but you have pydantic 1.8.2.
graphql-relay 3.1.0 has requirement typing-extensions<4,>=3.7; python_version < "3.8", but you have typing-extensions 4.7.1.
google-api-core 1.34.1 has requirement protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<4.0.0dev,>=3.19.5, but you have protobuf 4.24.4.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


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:

🦉 Regular Expression Denial of Service (ReDoS)

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-15746419
@ryanmcmorrowsnyk

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade of Pygments introduces a significant change in runtime environment requirements.

Breaking Change:

  • Python Version Support: The updated version requires Python 3.8 or newer. Support for older Python versions has been dropped. Version 2.18.0 was the first to enforce this requirement.

Other Changes:

  • The upgrade includes a large number of new lexers for additional languages, updates to existing lexers for better accuracy, and the addition of new styles.
  • The build system was changed to Hatchling, but this should not impact users installing pre-built wheels.

Recommendation:
Ensure your production environment is running Python 3.8 or a more recent version before upgrading.

Source: Pygments Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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