Skip to content

rigour: add build-rigour.yml for riscv64 wheels - #1473

Merged
luhenry merged 4 commits into
mainfrom
rigour
Sep 8, 2026
Merged

rigour: add build-rigour.yml for riscv64 wheels#1473
luhenry merged 4 commits into
mainfrom
rigour

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a Rust/PyO3 extension for financial-crime domain data validation and normalization (names, addresses, IDs, phonetics). Upstream publishes no riscv64 wheel.

Mirrors upstream's linux/sdist jobs of build.yml.

Differs from upstream

  • Builds from checkout, no separate sdist job - Cargo.lock is committed, so there's nothing to protect against.
  • dnf install -y libicu-devel in before-all - normality (a runtime dep) hard-requires pyicu, which has no riscv64 wheel; the package lives outside EPEL.

Matrix: cp310-cp314, no cp314t - upstream builds no free-threaded wheel and pyo3's extension-module feature carries no abi3, so the matrix mirrors upstream's own five interpreters.

Testing

  • same as upstream's pytest suite, minus the lint/typecheck/data-freshness steps (build-only concerns)
  • test-sources stages tests/ alone so the checkout's own rigour/ package doesn't shadow the installed wheel
  • adds typing_extensions to test-requires - rigour/ids/__init__.py imports it directly but it's missing from [project].dependencies
  • cp310 only: deselects two test_dates.py cases - they hardcode a Z-suffixed/colonless-offset timestamp that only datetime.fromisoformat parses from Python 3.11 onward

License: OK

Built on cp312; 535 passed.

luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 2ecde8a into main Sep 8, 2026
11 checks passed
@luhenry
luhenry deleted the rigour branch September 8, 2026 08:40
@luhenry luhenry linked an issue Sep 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rigour riscv64 support

1 participant