Bug 2453010

Summary: rust-chardetng-1.0.0 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: rust-chardetngAssignee: blinxen <h-k-81>
Status: ASSIGNED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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
Releases retrieved: 1.0.0
Upstream release that is considered latest: 1.0.0
Current version/release in rawhide: 0.1.17-7.fc44
URL: https://crates.io/crates/chardetng

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/369807/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-chardetng

Comment 1 Eduardo Echeverria 2026-11-12 02:54:48 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.

Comment 2 blinxen 2026-11-12 07:38:55 UTC
> 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.

Comment 3 Eduardo Echeverria 2026-11-17 22:42:06 UTC
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!

Comment 4 Fabio Valentini 2026-11-17 22:44:40 UTC
> 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~)

Comment 5 Eduardo Echeverria 2026-11-17 22:56:36 UTC
(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.

Comment 6 Eduardo Echeverria 2026-11-17 23:57:15 UTC
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.