Commit 090e902
authored
build(deps-dev): update chardet requirement from <6 to <7 (#551)
Updates the requirements on
[chardet](https://github.com/chardet/chardet) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chardet/chardet/releases">chardet's
releases</a>.</em></p>
<blockquote>
<h2>6.0.0.post1</h2>
<ul>
<li>Fixed version number in chardet/version.py still being set to
<code>6.0.0dev0</code>. Otherwise identical to <a
href="https://github.com/chardet/chardet/releases/6.0.0">6.0.0</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/chardet/chardet/blob/main/docs/changelog.rst">chardet's
changelog</a>.</em></p>
<blockquote>
<h2>6.0.0.post1 (2026-02-22)</h2>
<ul>
<li>Fixed <code>__version__</code> not being set correctly in the
package
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
</ul>
<h2>6.0.0 (2026-02-22)</h2>
<p><strong>Features:</strong></p>
<ul>
<li>Unified single-byte charset detection with proper language-specific
bigram models for all single-byte encodings (replaces
<code>Latin1Prober</code>
and <code>MacRomanProber</code> heuristics)
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li>38 new languages: Arabic, Belarusian, Breton, Croatian, Czech,
Danish,
Dutch, English, Esperanto, Estonian, Farsi, Finnish, French, German,
Icelandic, Indonesian, Irish, Italian, Kazakh, Latvian, Lithuanian,
Macedonian, Malay, Maltese, Norwegian, Polish, Portuguese, Romanian,
Scottish Gaelic, Serbian, Slovak, Slovene, Spanish, Swedish, Tajik,
Ukrainian, Vietnamese, Welsh
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li><code>EncodingEra</code> filtering via new <code>encoding_era</code>
parameter
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li><code>max_bytes</code> and <code>chunk_size</code> parameters for
<code>detect()</code>,
<code>detect_all()</code>, and <code>UniversalDetector</code>
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li><code>-e</code>/<code>--encoding-era</code> CLI flag
(<code>Dan Blanchard <https://github.com/dan-blanchard></code>_
via Claude)</li>
<li>EBCDIC detection (CP037, CP500)
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li>Direct GB18030 support (replaces redundant GB2312 prober)
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li>Binary file detection
(<code>Dan Blanchard
<https://github.com/dan-blanchard></code>_)</li>
<li>Python 3.12, 3.13, and 3.14 support
(<code>Hugo van Kemenade <https://github.com/hugovk></code><em>,
<code>[#283](chardet/chardet#283)
<https://github.com/chardet/chardet/pull/283></code></em>)</li>
<li>GitHub Codespaces support
(<code>oxygen dioxide
<https://github.com/oxygen-dioxide></code><em>,
<code>[#312](chardet/chardet#312)
<https://github.com/chardet/chardet/pull/312></code></em>)</li>
</ul>
<p><strong>Breaking changes:</strong></p>
<ul>
<li>Dropped Python 3.7, 3.8, and 3.9 (requires Python 3.10+)</li>
<li>Removed <code>Latin1Prober</code> and
<code>MacRomanProber</code></li>
<li>Removed EUC-TW support</li>
<li>Removed <code>LanguageFilter.NONE</code></li>
<li><code>detect()</code> default changed to
<code>encoding_era=EncodingEra.MODERN_WEB</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chardet/chardet/commit/2fa72d84fdb9cb926eb1e7e40230a33b1dd81bb8"><code>2fa72d8</code></a>
Update version to 6.0.0.post1</li>
<li><a
href="https://github.com/chardet/chardet/commit/8a4636b1d4ef21d11cc8190f6ff271670b9d20ee"><code>8a4636b</code></a>
docs: modernize usage examples and reorganize table of contents</li>
<li><a
href="https://github.com/chardet/chardet/commit/20da71e7087159944e1ccfd586544a581744103a"><code>20da71e</code></a>
docs: fix copyright start year and remove first-person reference</li>
<li><a
href="https://github.com/chardet/chardet/commit/b45ae91d9892c834a692e42d527670c6018d8301"><code>b45ae91</code></a>
docs: update copyright to 2015-2026 chardet contributors</li>
<li><a
href="https://github.com/chardet/chardet/commit/3f9910dbebfc2b268edba21eaf2175532c761c52"><code>3f9910d</code></a>
Add .readthedocs.yaml to fix RTD builds</li>
<li><a
href="https://github.com/chardet/chardet/commit/7ef7cd00f27e18c5a846c75b5b4aecd0ddd36186"><code>7ef7cd0</code></a>
Fix pyright type errors in chardetect.py and test.py</li>
<li><a
href="https://github.com/chardet/chardet/commit/4025dfa2487e9a72d940ccf31ad933171aa178e5"><code>4025dfa</code></a>
Update documentation for 6.0.0 release</li>
<li><a
href="https://github.com/chardet/chardet/commit/117082980035dadbe723b798cba267c537374747"><code>1170829</code></a>
Add LEGACY_REGIONAL encoding era and reclassify misplaced encodings</li>
<li><a
href="https://github.com/chardet/chardet/commit/19379ac0110df41a76835a89756ae23abc528bd3"><code>19379ac</code></a>
Add --encoding-era CLI flag and improve heuristic selection</li>
<li><a
href="https://github.com/chardet/chardet/commit/61308e2525dc43441ba07c6559d78bb9429ec31a"><code>61308e2</code></a>
Pre-release fixes: bump to 6.0.0, fix get_charset crash, cleanup</li>
<li>Additional commits viewable in <a
href="https://github.com/chardet/chardet/compare/1.0...6.0.0.post1">compare
view</a></li>
</ul>
</details>
<br />
<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>
| Dependency Name | Ignore Conditions |
| --- | --- |
| chardet | [>= 7.dev0, < 8] |
</details>
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments