Skip to content

pysam: add build-pysam.yml for riscv64 wheels - #1669

Merged
luhenry merged 1 commit into
mainfrom
pysam
Sep 10, 2026
Merged

pysam: add build-pysam.yml for riscv64 wheels#1669
luhenry merged 1 commit into
mainfrom
pysam

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles pysam's Cython bindings over vendored htslib/samtools/bcftools sources into the SAM/BAM/CRAM/VCF/BCF/tabix Python toolkit used across bioinformatics. Upstream publishes no riscv64 wheel.

Mirrors upstream's release.yaml.

Differs from upstream

  • No libcurl-devel in the riscv64 image, so htslib builds without remote-URL support - same call as build-pybigwig.yml.
  • samtools/bcftools aren't packaged for riscv64 on EPEL, so before-all falls back to upstream's own devtools/emulate-tools.py.

Testing

  • same as upstream

License: Wheel statically bundles htslib/samtools/bcftools, all MIT/Expat.

Patches

  • 0001-widen-the-default-license_files-glob...patch - To upstream [not submitted]. Without it, htslib/samtools/bcftools's own LICENSE files don't land in dist-info/licenses even though their code ships in every wheel; reproduces off riscv64 too.

Built on cp312; results pending first CI run.

luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry merged commit 0cb97d8 into main Sep 10, 2026
9 checks passed
@luhenry
luhenry deleted the pysam branch September 10, 2026 10:43
@luhenry luhenry linked an issue Sep 10, 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.

pysam riscv64 support

1 participant