Skip to content

[Snyk] Security upgrade sqlparse from 0.4.3 to 0.6.0 - #63

Open
nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-6ed4029c074cec76b491b017caf58ccf
Open

nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-6ed4029c074cec76b491b017caf58ccf

Conversation

@nlaurance

Copy link
Copy Markdown
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • requirements/dev.txt
⚠️ Warning
Django 3.2.18 requires sqlparse, which is not installed.
django-debug-toolbar 3.8.1 requires sqlparse, which is not installed.

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)
🦉 Arbitrary Code Injection

@nlaurance

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade of sqlparse from version 0.4.3 to 0.6.0 includes breaking changes related to Python version support.

Key Changes:

  • Python Version Requirement: The most significant change is the dropped support for older Python versions. Version 0.5.0 required Python 3.8+, and version 0.6.0 now requires Python 3.10+. Environments running Python 3.7, 3.8, or 3.9 will no longer be compatible. [6, 9]
  • Security Fixes: The upgrade to 0.5.0 and later addresses security vulnerabilities present in older versions. [8]

Recommendation:
Before merging, verify that your production environment and development pipelines are running on Python 3.10 or a newer version. No significant API changes requiring code modification have been noted for this version range, but the runtime environment change is critical.

Source: Official Changelog [6]

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