Skip to content

pglast: add build-pglast.yml for riscv64 wheels - #716

Merged
luhenry merged 1 commit into
mainfrom
pglast
Aug 28, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Aug 28, 2026

Copy link
Copy Markdown
Member

A C extension wrapping libpg_query, a git submodule that bundles the PostgreSQL parser and is compiled and statically linked into the wheel. Upstream publishes no riscv64 wheel.

Mirrors upstream's ci.yml.

Differs from upstream

  • Stages the licence files of the statically linked sources before the build.
  • manylinux only; upstream also ships musllinux.

Testing

  • same as upstream

License: Wheel statically links libpg_query (BSD-3-Clause) and the PostgreSQL parser (PostgreSQL licence); upstream ships no licence text for either, so the build adds it.

Built on cp313; 2403 passed, 30 skipped, 1 xfailed.

Mirrors the build_wheels job of upstream's ci.yml, narrowed to
manylinux_riscv64.

The extension statically links libpg_query, which bundles the PostgreSQL
parser sources. Upstream's wheels carry neither project's licence, so the
build stages both at the checkout root where setuptools' default
license-files glob picks them up.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@luhenry
luhenry merged commit b2d792f into main Aug 28, 2026
9 checks passed
@luhenry
luhenry deleted the pglast branch August 28, 2026 07:03
@luhenry luhenry linked an issue Aug 28, 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.

pglast riscv64 support

1 participant