chore(deps): bump bleach from 6.3.0 to 6.4.0 - #15444
Merged
Merged
Conversation
bleach 6.3.0's css extra caps tinycss2 at <1.5, which makes requirements.txt impossible to co-install with any package requiring tinycss2>=1.5 (e.g. weasyprint>=67) — pip fails with ResolutionImpossible. bleach 6.4.0 keeps the css extra but lifts the cap to tinycss2>=1.1.0 with no upper bound. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
potentially related: #14442 |
blakeaowens
approved these changes
Aug 10, 2026
Maffooch
approved these changes
Aug 10, 2026
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
Bump
bleachfrom 6.3.0 to 6.4.0.bleach 6.3.0's
cssextra capstinycss2at<1.5, which makesrequirements.txtimpossible to co-install in a single pip resolve with any package requiringtinycss2>=1.5(for exampleweasyprint>=67) — pip fails withResolutionImpossible. bleach 6.4.0 keeps thecssextra but relaxes the constraint totinycss2>=1.1.0with no upper bound, so the resolver is free to satisfy both.No code changes: the
bleach.clean(..., css_sanitizer=CSSSanitizer(...))call sites indojo/templatetags/are compatible with both versions.Test results
Verified
pip install -r requirements.txtresolves cleanly with bleach 6.4.0 under Python 3.13 (dry-run resolve in apython:3.13container). Relying on the existing CI unit suite for the sanitizer call sites; no behavior change expected from the pin bump.Documentation
Not applicable — dependency pin bump only.
🤖 Generated with Claude Code