Update dependency chardet to v7.3.0 #79

Merged
timatlee merged 1 commits from renovate/chardet-7.x into main 2026-03-24 19:01:56 -06:00
Collaborator

This PR contains the following updates:

Package Update Change
chardet (changelog) minor ==7.2.0==7.3.0

Release Notes

chardet/chardet (chardet)

v7.3.0

Compare Source

License

  • 0BSD license — the project license has been changed from MIT to 0BSD, a maximally permissive license with no attribution requirement. All prior 7.x releases should also be considered 0BSD licensed as of this release.

Features

  • Added mime_type field to detection results — identifies file types for both binary (via magic number matching) and text content. Returned in all detect(), detect_all(), and UniversalDetector results. (#​350)
  • New pipeline/magic.py module detects 40+ binary file formats including images, audio/video, archives, documents, executables, and fonts. ZIP-based formats (XLSX, DOCX, JAR, APK, EPUB, wheel, OpenDocument) are distinguished by entry filenames. (#​350)

Bug Fixes

  • Fixed incorrect equivalence between UTF-16-LE and UTF-16-BE in accuracy testing — these are distinct encodings with different byte order, not interchangeable

Performance

  • Added 4 new modules to mypyc compilation (orchestrator, confusion, magic, ascii), bringing the total to 11 compiled modules
  • Capped statistical scoring at 16 KB — bigram models converge quickly, so large files no longer score the full 200 KB. Worst-case detection time dropped from 62ms to 26ms with no accuracy loss.
  • Replaced dataclasses.replace() with direct DetectionResult construction on hot paths, eliminating ~354k function calls per full test suite run

Build

  • Added riscv64 to the mypyc wheel build matrix — prebuilt wheels are now published for RISC-V Linux alongside existing architectures (#​348, thanks @​gounthar)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [chardet](https://github.com/chardet/chardet) ([changelog](https://chardet.readthedocs.io/en/latest/changelog.html)) | minor | `==7.2.0` → `==7.3.0` | --- ### Release Notes <details> <summary>chardet/chardet (chardet)</summary> ### [`v7.3.0`](https://github.com/chardet/chardet/releases/tag/7.3.0) [Compare Source](https://github.com/chardet/chardet/compare/7.2.0...7.3.0) #### License - **0BSD license** — the project license has been changed from MIT to [0BSD](https://opensource.org/license/0bsd), a maximally permissive license with no attribution requirement. All prior 7.x releases should also be considered 0BSD licensed as of this release. #### Features - Added `mime_type` field to detection results — identifies file types for both binary (via magic number matching) and text content. Returned in all `detect()`, `detect_all()`, and `UniversalDetector` results. ([#&#8203;350](https://github.com/chardet/chardet/pull/350)) - New `pipeline/magic.py` module detects 40+ binary file formats including images, audio/video, archives, documents, executables, and fonts. ZIP-based formats (XLSX, DOCX, JAR, APK, EPUB, wheel, OpenDocument) are distinguished by entry filenames. ([#&#8203;350](https://github.com/chardet/chardet/pull/350)) #### Bug Fixes - Fixed incorrect equivalence between UTF-16-LE and UTF-16-BE in accuracy testing — these are distinct encodings with different byte order, not interchangeable #### Performance - Added 4 new modules to mypyc compilation (orchestrator, confusion, magic, ascii), bringing the total to 11 compiled modules - Capped statistical scoring at 16 KB — bigram models converge quickly, so large files no longer score the full 200 KB. Worst-case detection time dropped from 62ms to 26ms with no accuracy loss. - Replaced `dataclasses.replace()` with direct `DetectionResult` construction on hot paths, eliminating \~354k function calls per full test suite run #### Build - Added riscv64 to the mypyc wheel build matrix — prebuilt wheels are now published for RISC-V Linux alongside existing architectures ([#&#8203;348](https://github.com/chardet/chardet/pull/348), thanks [@&#8203;gounthar](https://github.com/gounthar)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44Ny4xIiwidXBkYXRlZEluVmVyIjoiNDMuODcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2026-03-23 23:00:31 -06:00
Update dependency chardet to v7.3.0
Build Docker Image / build (pull_request) Successful in 3m47s
1385905210
timatlee merged commit 2ec7badd56 into main 2026-03-24 19:01:56 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: timatlee/cloudflare-ddns-docker-updated#79