chore(deps): update dependency charset-normalizer to v3
Metadata
Current evaluation
Renovate PR #976 merged (merge commit 58493e40, branch commit ddc9f92a), bumping charset-normalizer from 2.1.1 to 3.0.1 in two dependency requirement files.
Resolution: closed resolved
Reason: The PR was approved and merged into main via commit 58493e40 ("Merge pull request #976 from canonical/renovate/charset-normalizer-3.x"), which brought in ddc9f92a changing two requirement files (+2/-2) to pin charset-normalizer==3.0.1.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [charset-normalizer](https://togithub.com/Ousret/charset_normalizer) | `==2.1.1` -> `==3.0.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>Ousret/charset_normalizer</summary>
### [`v3.0.1`](https://togithub.com/Ousret/charset_normalizer/blob/HEAD/CHANGELOG.md#​301-httpsgithubcomOusretcharsetnormalizercompare300301-2022-11-18)
[Compare Source](https://togithub.com/Ousret/charset_normalizer/compare/3.0.0...3.0.1)
##### Fixed
- Multi-bytes cutter/chunk generator did not always cut correctly (PR [#​233](https://togithub.com/Ousret/charset_normalizer/issues/233))
##### Changed
- Speedup provided by mypy/c 0.990 on Python >= 3.7
### [`v3.0.0`](https://togithub.com/Ousret/charset_normalizer/blob/HEAD/CHANGELOG.md#​300-httpsgithubcomOusretcharsetnormalizercompare211300-2022-10-20)
[Compare Source](https://togithub.com/Ousret/charset_normalizer/compare/2.1.1...3.0.0)
##### Added
- Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
- Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
- Add parameter `language_threshold` in `from_bytes`, `from_path` and `from_fp` to adjust the minimum expected coherence ratio
- `normalizer --version` now specify if current version provide extra speedup (meaning mypyc compilation whl)
##### Changed
- Build with static metadata using 'build' frontend
- Make the language detection stricter
- Optional: Module `md.py` can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1
##### Fixed
- CLI with opt --normalize fail when using full path for files
- TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
- Sphinx warnings when generating the documentation
##### Removed
- Coherence detector no longer return 'Simple English' instead return 'English'
- Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
- Breaking: Method `first()` and `best()` from CharsetMatch
- UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
- Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
- Breaking: Top-level function `normalize`
- Breaking: Properties `chaos_secondary_pass`, `coherence_non_latin` and `w_counter` from CharsetMatch
- Support for the backport `unicodedata2`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuODQuMiJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR #976 merged (merge commit 58493e40, branch commit ddc9f92a), bumping charset-normalizer from 2.1.1 to 3.0.1 in two dependency requirement files. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #976, updating charset-normalizer from 2.1.1 to 3.0.1 in two dependency files. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated dependency update from charset-normalizer v2.1.1 to v3.0.1. Approved by one reviewer, passed CI checks, and modified two files with a two-line change. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Automated dependency update merged, upgrading charset-normalizer from v2.1.1 to v3.0.1. Includes performance optimizations, stricter detection logic, and upstream API breaking changes. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#2072
(confidence 35%)
Later dependency bump commits in requirements.txt/requirements-dev.txt build on this state, but are not the resolution of this PR.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #545 chore(deps): update dependency idna to v3.7 | rockcraft | merged | Renovate PR #545 was merged, updating idna from 3.6 to 3.7 in commit 8432a136 after two approvals. | |
| #1235 build(deps): update dependency charset-normalizer to v3.4.7 (hotfix/1.5) | rockcraft | closed | Renovate PR #1235 updating charset-normalizer from 3.3.2 to 3.4.7 on hotfix/1.5 was closed unmerged after snap tests, unit tests, and linters failed. | |
| #1028 chore(deps): update dependency humanize to v4.6.0 | charmcraft | merged | Renovate dependency bump PR #1028 was merged (merge commit d011d922, branch commit b4964336), pinning humanize from ==4.5.0 to ==4.6.0 in the 2.3/3.x era requirements; no code changes needed. | |
| #621 chore(deps): update dependency codespell to v2.3.0 | craft-providers | merged | Merged in PR #621 via commit b6c4dbd, upgrading codespell from 2.2.6 to 2.3.0. | |
| #4726 chore(deps): update dependency idna to v3.7 [security] | snapcraft | merged | Renovate PR #4726 merged as commit 077ebbfff, pinning idna 3.4/3.6 -> 3.7 to fix CVE-2024-3651 (idna.encode() DoS). Later bumped to 3.10 in #5439. | |
| #364 chore(deps): update dependencies | rockcraft | merged | Merged dependency updates in PR #364 via commit 1661d115, changing seven files (+152/-174) after approval by two reviewers. | |
| #1342 chore(deps): update dependency craft-cli to v2.3.0 | charmcraft | merged | Renovate PR #1342 was merged, updating craft-cli from 2.1.0 to 2.3.0 in commit 03c0bab0. | |
| #968 chore(deps): update dependency filelock to v3.9.0 | charmcraft | merged | Renovate PR #968 updated filelock from 3.8.2 to 3.9.0 and merged via e4678923; implementation commit e3ccc132. | |
| #34 chore(deps): update dependency codespell to v2.2.4 | craft-archives | merged | Merged Renovate PR #34 in commit ff94429, updating codespell from 2.2.2 to 2.2.4. | |
| #785 chore(deps): update dependency myst-parser to v3 | craft-parts | merged | Renovate's myst-parser 2.0.0 -> 3.0.1 bump was approved and merged via commit 44e43e43 ("chore(deps): update dependency myst-parser to v3"), changing the pin in a single file; later superseded by the v4 bump in #871. |