Skip to content

ci: add riscv64 target to linux wheel build matrix#237

Merged
davidhewitt merged 1 commit intopydantic:mainfrom
gounthar:feat/add-riscv64-wheel
Mar 18, 2026
Merged

ci: add riscv64 target to linux wheel build matrix#237
davidhewitt merged 1 commit intopydantic:mainfrom
gounthar:feat/add-riscv64-wheel

Conversation

@gounthar
Copy link
Copy Markdown
Contributor

Summary

Add riscv64 to the maturin-action linux build matrix so that linux_riscv64 wheels are built and published to PyPI.

maturin-action cross-compiles via riscv64gc-unknown-linux-gnu cargo target — no QEMU or additional infrastructure needed.

Evidence

Context

  • riscv64gc-unknown-linux-gnu is a Rust tier-2 target with std available
  • maturin-action handles cross-compilation transparently
  • Sibling project pydantic-core already has riscv64 support merged (pydantic/pydantic#12723)

Fixes #236

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 12, 2026

Merging this PR will not alter performance

✅ 70 untouched benchmarks


Comparing gounthar:feat/add-riscv64-wheel (03ddad8) with main (312d268)

Open in CodSpeed

@davidhewitt davidhewitt merged commit 0fa2970 into pydantic:main Mar 18, 2026
26 checks passed
@gounthar gounthar deleted the feat/add-riscv64-wheel branch March 18, 2026 16:07
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.

Add riscv64 (linux_riscv64) wheel to PyPI releases

2 participants