Bug 2572050 - Review Request: python-frostwork - Treeless, one-pass HTML extraction with CSS/XPath selectors
Summary: Review Request: python-frostwork - Treeless, one-pass HTML extraction with CS...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2453010
Blocks: 2568426
TreeView+ depends on / blocked
 
Reported: 2026-11-12 02:15 UTC by Eduardo Echeverria
Modified: 2026-11-12 02:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.