← Back to issue list

chore(deps): update dependency charset-normalizer to v3

View original Github issue

Metadata

Project
charmcraft
Number
#976
Type
pull request
State
merged
Author
renovate[bot]
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://badges.renovateapi.com/packages/pypi/charset-normalizer/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/charset-normalizer/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/charset-normalizer/3.0.1/compatibility-slim/2.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/charset-normalizer/3.0.1/confidence-slim/2.1.1)](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#&#8203;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 [#&#8203;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#&#8203;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
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.
qwen3.6-35b-a3b-mtp-q6 Merged an automated Renovate update upgrading charset-normalizer from v2.1.1 to v3.0.1. The dependency change incorporates performance improvements and library API updates, successfully applied to the codebase.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#545 chore(deps): update dependency idna to v3.7 rockcraft merged Merged automated dependency update upgrading idna from v3.6 to v3.7. Approved by two reviewers, passed CI checks, and merged into the main branch.
78%
#1644 chore(deps): update dependency idna to v3.7 [security] charmcraft merged Merged automated dependency update upgrading idna from v3.6 to v3.7 to resolve CVE-2024-3651, a denial-of-service vulnerability in the encode function. Approved by reviewers and passed CI checks.
76%
#181 chore(deps): update dependency myst-parser to v3 craft-store merged Merged automated dependency update for myst-parser from v2.0.0 to v3.0.1. Approved by two reviewers, passed CI, and applied with a single line change.
76%
#1289 chore(deps): update dependencies charmcraft merged Approved by two reviewers and merged, the dependency update modified three files with 45 additions and 34 deletions to refresh project packages.
76%
#1353 chore(deps): update all dependencies charmcraft merged Merged dependency update across three files, changing 23 additions and 24 deletions. Approved by two reviewers with zero unresolved comments. Changes integrated successfully.
74%
#101 chore(deps): update dependency @actions/core to v3.0.1 craft-actions merged Merged automated dependency update for @actions/core from v3.0.0 to v3.0.1. Generated by Renovate with automerge enabled. All CI checks passed, received one approval, and the change was successfully integrated.
74%
#961 chore(deps): update actions/checkout action to v3 charmcraft merged Merged automated dependency update upgrading actions/checkout from v2 to v3. Approved by one reviewer, passed CI checks, and modified four files with minimal line changes.
74%
#4726 chore(deps): update dependency idna to v3.7 [security] snapcraft merged Merged automated dependency update upgrading idna to v3.7 from v3.6 and v3.4. Resolves CVE-2024-3651 denial-of-service vulnerability in idna.encode(). Approved by reviewers, passed CI, and merged to main.
74%
#1235 build(deps): update dependency charset-normalizer to v3.4.7 (hotfix/1.5) rockcraft closed Closed without merging due to failing CI checks, including snap-tests, unit tests, and linters. The charset-normalizer dependency update to v3.4.7 was abandoned.
74%
#785 chore(deps): update dependency myst-parser to v3 craft-parts merged Automated dependency update for myst-parser to v3 was approved by two reviewers, passed CI checks, and successfully merged.
74%