chore(run/markdown-preview): bump bleach to 6.4.0 to fix dependabot alert#14391
Draft
XrossFox wants to merge 1 commit into
Draft
chore(run/markdown-preview): bump bleach to 6.4.0 to fix dependabot alert#14391XrossFox wants to merge 1 commit into
XrossFox wants to merge 1 commit into
Conversation
…alert - Bumped `bleach` to 6.4.0 in `run/markdown-preview/renderer/requirements.txt` to address a Dependabot vulnerability. - Removed Python version constraints for `bleach` and `pytest`.
Contributor
There was a problem hiding this comment.
Code Review
This pull request simplifies dependency requirements by removing Python version constraints for pytest in requirements-test.txt and consolidating bleach to version 6.4.0 in requirements.txt. Feedback is provided regarding the bleach library, which is deprecated, suggesting a future migration to an actively maintained alternative like nh3 to ensure long-term security.
| Markdown==3.7 | ||
| bleach==6.2.0; python_version >= "3.9" | ||
| bleach==6.1.0; python_version <= "3.8" | ||
| bleach==6.4.0 |
Contributor
There was a problem hiding this comment.
The bleach library is officially deprecated and no longer maintained as of June 2026 [3.3.2]. Since it is used for HTML sanitization (a security-critical task), please consider migrating to an actively maintained alternative like nh3 in a future pull request to ensure long-term security and support.
References
- When upgrading core dependencies, if an incompatible library is no longer supported, proceed with the core upgrade and defer the refactoring or replacement of the unsupported library to a later time.
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.
Description
bleachto 6.4.0 inrun/markdown-preview/renderer/requirements.txtto address a Dependabot vulnerability.bleachandpytest.Fixes b/532239091
Checklist
Testing
Compliance & Style
Post-Approval Actions