Bug 2572050

Summary: Review Request: python-frostwork - Treeless, one-pass HTML extraction with CSS/XPath selectors
Product: [Fedora] Fedora Reporter: Eduardo Echeverria <echevemaster>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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: 2453010    
Bug Blocks: 2568426    

Description Eduardo Echeverria 2026-11-12 02:15:03 UTC
Spec URL: https://echevemaster.fedorapeople.org/review/python-frostwork/python-frostwork.spec
SRPM URL: https://echevemaster.fedorapeople.org/review/python-frostwork/python-frostwork-0.2.2-1.fc46.src.rpm

Description:
Frostwork compiles a set of CSS or XPath selectors and extracts their values
in one scan of an HTML response, without building a DOM. Working memory
tracks parser state, pending matches and returned values, without storing a
document tree. It supports a focused selector subset, continuously checked
against Parsel/lxml, and can be used from Scrapy callbacks, web-poet pages or
standalone code.

Fedora Account System Username: echevemaster

This is a new dependency of Scrapy 2.20.0 (bug 2568426), which I maintain as python-scrapy.

Notes:
- Python extension written in Rust (maturin + pyo3), built against the Rust crates packaged in Fedora.
- Cargo.toml is patched to accept pyo3 0.30 (upstream pins 0.29); it builds and the tests pass with 0.30.
- Requires chardetng 1.0 (new API), but Fedora currently has rust-chardetng 0.1.17 (bug 2453010).
  A Koji scratch build is not possible until rust-chardetng is updated. A local mock build for rawhide
  with rust-chardetng 1.0.0 succeeded: 234 tests passed, 1 deselected (needs web-poet, not in Fedora).
  Build log: https://echevemaster.fedorapeople.org/review/python-frostwork/build.log
- rpmlint: only a spelling false positive (lxml) and no-manual-page-for-binary for frostwork-audit.

Comment 1 Eduardo Echeverria 2026-11-12 02:55:00 UTC
Status update on the rust-chardetng dependency (bug 2453010): I've opened
a pull request updating rust-chardetng to 1.0.0:
https://src.fedoraproject.org/rpms/rust-chardetng/pull-request/2
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=152192231

Once it is merged and built, I'll run a Koji scratch build of
python-frostwork and post it here.

For context, frostwork is now also required by python-w3lib 2.6.0
(https://src.fedoraproject.org/rpms/python-w3lib/pull-request/7), so the
full chain for Scrapy 2.20.0 (bug 2568426) is:
rust-chardetng 1.0.0 -> python-frostwork -> python-w3lib 2.6.0 -> python-scrapy 2.20.0