Repository navigation
argus-redact: Add version 0.8.16 - #3036
Conversation
Adds the riscv64 wheel build for argus-redact, a local PII redaction and pseudonymization library (Rust/PyO3 core, pure Python driver). Pure Rust dependency tree (fancy-regex, pyo3, sha2/sha3/hmac); no C or system libraries. Mirrors upstream's maturin-based release.yml, narrowed to Linux manylinux_riscv64.
cp314t's job logs show the wheel built fine and the pyo3 smoke test passed (no free-threading/ABI issue) — pytest collection died instead: tests/test_readme_examples.py and its _meta sibling resolve README.md, README.zh.md and docs/*.md relative to the test file's parent dir, which cibuildwheel's CIBW_TEST_SOURCES staging replaces with an isolated test_cwd that only contains tests/. This is interpreter- and arch-agnostic (gotcha 129's maxminddb pattern), so cp312/cp313/cp314 would hit the same FileNotFoundError once they get a runner instead of timing out in the queue. Add the missing paths to CIBW_TEST_SOURCES.
|
cp314t CI failure triaged (the other three legs were just the 24h queued-job timeout/cancellation, no action needed there). Root cause: not riscv64- or free-threading-specific. The job log shows the Rust/pyo3 0.29.2 extension compiled cleanly and the inline pyo3 smoke test (
Fix: widen |
35 tests failed identically on cp312/cp313/cp314/cp314t. 31 read src/, crates/, pyproject.toml or demo/ from the checkout (upstream runs pytest from an editable install); staging them would put pyproject's pythonpath = ["src"] in force and shadow the wheel. The other 4 assert x86-tuned wall-clock ceilings (1ms/5ms/1s) the riscv64 runner misses by ~2-3x. Deselect each by nodeid; the rest of tests/architecture and tests/benchmark still run.
argus-redact0.8.16Compiles a Rust PII-redaction/pseudonymization core with PyO3 Python bindings (pure-Python driver on top). Upstream publishes no riscv64 wheel.
Mirrors upstream's
release.ymlbuild-wheelsjob (maturin,manifest-path = crates/argus-redact-py/Cargo.toml), narrowed to Linux manylinux.Differs from upstream
Testing
testjob: aredact()smoke call, thenpytest -m "not ner and not semantic and not slow" tests(same marker deselect upstream uses to skip the heavy NER/LLM extras).License: OK, Apache-2.0, nothing vendored.
Built on cp312; dependency tree (fancy-regex, pyo3, sha2/sha3/hmac, serde) is pure Rust with no
-sys/C bindings beyond platform stubs, verified withcargo metadata --filter-platform riscv64gc-unknown-linux-gnu.