Repository navigation
Bump chardet from 5.2.0 to 7.7.0 - #896
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [chardet](https://github.com/chardet/chardet) from 5.2.0 to 7.7.0. - [Release notes](https://github.com/chardet/chardet/releases) - [Changelog](https://github.com/chardet/chardet/blob/main/docs/changelog.rst) - [Commits](chardet/chardet@5.2.0...7.7.0) --- updated-dependencies: - dependency-name: chardet dependency-version: 7.7.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
🟢 ReviewingLast updated: 2026-12-01 02:09 UTC |
rtibblesbot
reviewed
Dec 1, 2026
rtibblesbot
left a comment
Contributor
There was a problem hiding this comment.
PR #896: chardet 7.7.0 breaks this project's text decoding and conflicts with requests, so it can't merge without code changes.
This PR will be closed and the upgrade tracked in an issue. CI fails on all 15 jobs, including after a re-run.
Breaking changes this project hits:
decode_text(ricecooker/utils/encodings.py:163) now misdetects short cp1252 text.Cafébecomes ThaiCaf้andMaria’sbecomesMaria\x92s. Subtitles and IMSCP titles would upload as mojibake with no error.- An undecodable subtitle now converts instead of failing. Since 7.6.0,
detect()only returns encodings that decode the input. requests2.32.5 accepts only chardet<6. It prints a warning to stderr on every import, which breakstest_chef_script_outside_cwd_is_refused.
Upgrade needs:
- A
decode_textrework for chardet 7, e.g.prefer_superset=True(the 8.0 default) orinclude_encodings. - A
requestsrelease that supports chardet ≥6.
Other changes: license LGPL → 0BSD. No CVE fixes. 7.7.0 fixes quadratic scans on hostile input.
pre-existing: test_real_pandoc_failure_is_one_path_free_line fails on main too. Should it get its own issue?
Written by rtibblesbot, an LLM-based coding agent.
4 tasks
Contributor
|
Tracked in #899. |
Contributor
|
Quick check on rtibblesbot's review of this PR: react 👍 helpful · 😕 mixed · 👎 not helpful. Reply with anything specific. |
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.
Bumps chardet from 5.2.0 to 7.7.0.
Release notes
Sourced from chardet's releases.
... (truncated)
Changelog
Sourced from chardet's changelog.
... (truncated)
Commits
7a87294Release 7.7.01785c56docs: label the base64 large-input rows as ascii with a footnote4ec13a0test: take the best of three cold starts in the cold-vs-warm checkd7be8c7docs: re-measure the large-input table for 7.7.0d6dcc41docs: update benchmark numbers for 7.7.0cc5924aRename EncodingInfo.is_multibyte to is_multibyte_cjke0a7ff9docs: derive the multi-byte column from the codeca3699c9Fix UTF-32 BOM detection for truncated max_bytes windows (#405)89cab01Score bigram models through itemgetter on interpreted CPython (#404)ea3ef5fFix quadratic backtracking in the EBCDIC charset-declaration scan (#403)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)