Bug 2453010
| Summary: | rust-chardetng-1.0.0 is available | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Upstream Release Monitoring <upstream-release-monitoring> |
| Component: | rust-chardetng | Assignee: | blinxen <h-k-81> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | decathorpe, echevemaster, h-k-81, rust-sig |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2572050 | ||
|
Description
Upstream Release Monitoring
2026-03-30 13:20:20 UTC
I've opened a pull request updating rust-chardetng to 1.0.0: https://src.fedoraproject.org/rpms/rust-chardetng/pull-request/2 The three downstream patches (arrayvec 0.7, missing std import in tests, crate metadata) are all merged upstream in 1.0.0, so they are dropped. Nothing else in Fedora depends on crate(chardetng), so no compat package should be needed for the 0.1 API. Koji scratch build (rawhide): https://koji.fedoraproject.org/koji/taskinfo?taskID=152192231 This update is needed by python-frostwork (review: bug 2572050), a new dependency of python-w3lib 2.6.0 and Scrapy 2.20.0 (bug 2568426). I'd appreciate it if someone from the Rust SIG could take a look. > Nothing else in Fedora depends on crate(chardetng), so no compat package should be needed for the 0.1 API.
Not quite, helix and nushell still depend on it. For helix a small patch needs to be backported but I can handle that fine. Nushell is a different story, I will ask the maintainer of nushell if / when he is planning to update nushell.
Gentle ping on https://src.fedoraproject.org/rpms/rust-chardetng/pull-request/2 (update to 1.0.0). CI on the PR is green except for two non-blocking items: - rpmlint: 1 error, description-line-too-long in the auto-generated +testing-only-no-semver-guarantees-do-not-use-devel subpackage. This was already present with 0.1.17 (it comes from rust2rpm and the long feature name), so it is not a regression. - rpminspect: errored out due to a Testing Farm infrastructure issue (podman/aardvark-dns "Address already in use"), not related to the package. Could you merge and build it when you have a moment? chardetng 1.0.0 is needed by python-frostwork (review bug 2572050), a new dependency of w3lib 2.6.0 / Scrapy 2.20.0. Nothing else in Fedora depends on crate(chardetng). Thanks! > Nothing else in Fedora depends on crate(chardetng).
This is not correct. Maybe your query was too narrow? There *are* dependent packages that pin v0.1, but they don't depend on literal "crate(chardetng)" (this would be chardetng with default-features = false).
$ cratedeps chardetng
helix : (crate(chardetng/default) >= 0.1.0 with crate(chardetng/default) < 0.2.0~)
nushell : (crate(chardetng/default) >= 0.1.17 with crate(chardetng/default) < 0.2.0~)
(In reply to blinxen from comment #2) > > Nothing else in Fedora depends on crate(chardetng), so no compat package should be needed for the 0.1 API. > > Not quite, helix and nushell still depend on it. For helix a small patch > needs to be backported but I can handle that fine. Nushell is a different > story, I will ask the maintainer of nushell if / when he is planning to > update nushell. Sorry, I hadn't seen comment 2 before posting my last comment. You're right, and h-k-81 had already pointed out that helix and nushell depend on chardetng 0.1. My query only looked for the literal crate(chardetng), so it missed them. Sorry, I hadn't seen comment 2 before posting my last comment. You're right, and h-k-81 had already pointed out that helix and nushell depend on chardetng 0.1. My query only looked for the literal crate(chardetng), so it missed them. For nushell: upstream moved to chardetng 1.0 in 0.115.0 (https://github.com/nushell/nushell/commit/bcc69ebd4dc54f751b5567c28912258bc9c53131), and the change is limited to one function (detect_encoding_name), which is unchanged in 0.99.1. I've opened a PR backporting it to the Fedora package: https://src.fedoraproject.org/rpms/nushell/pull-request/3 Tested locally in mock against chardetng 1.0.0: build OK, %check 619 passed / 0 failed, and decode auto-detection works with Latin-1, UTF-8 and Shift_JIS input. Once helix is patched too, rust-chardetng, helix and nushell could be built together in a side tag. If you'd rather not touch nushell yet, a rust-chardetng0.1 compat package would be another option, and I'm happy to prepare that instead. |