Skip to content

pytrilogy: Add version 0.3.339 - #3008

Merged
github-actions[bot] merged 2 commits into
mainfrom
pytrilogy
Oct 25, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
pytrilogy

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Compiles trilogy-parser, a small PyO3 Rust extension (_preql_import_resolver) that parses the Trilogy query language and resolves import/datasource dependencies. Upstream publishes no riscv64 wheel.

Mirrors the linux job of upstream's pythonpublish.yml.

Differs from upstream

  • Checks out a bare commit, not a tag - upstream pushes version bumps straight to main with no git tag.
  • One -i <interp> build per matrix leg instead of --interpreter with all three - same outcome, fits our per-interpreter riscv64 jobs.
  • riscv64gc-unknown-linux-gnu target, manylinux: '2_39' - no auto riscv64 image exists.
  • Dropped sccache and the cross-compile-only PYO3_CROSS_LIB_DIR docker option - this is a native build, not a cross build.

Matrix: cp311/cp312/cp313 - upstream ships no native Linux cp314 wheel; 3.14 is wasm/Pyodide-only (see its wasm-wheel.yml).

Testing

  • same as upstream (trilogy --help, trilogy run "SELECT 1 + 1->test;" duckdb against the patched wheel)

License: OK

Built locally on cp311 (x86_64): wheel builds, patch_wheels.py adds the runtime Requires-Dist, install and both smoke commands pass.

@luhenry
luhenry marked this pull request as draft October 13, 2026 09:25
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-3008/

Built to branch gh-pages at 2026-10-13 16:17 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

The "Validate patched wheel" step source-built pyarrow 26.0.0 from the
PyPI sdist and failed in CMake (no Arrow C++). With unsafe-best-match,
uv takes the highest version across both indexes, and the served
registry index at the time topped out at pyarrow 25.0.1. duckdb has the
same skew now (PyPI 2.0.0 is sdist-only for riscv64, registry 1.5.6).
Pass --only-binary for both; uv pip install has no env var for it.

pyarrow has no cp311 riscv64 wheel on pypi.riseproject.dev or PyPI, so
the cp311 wheel cannot be installed or tested; drop it from the matrix.
@github-actions
github-actions Bot marked this pull request as ready for review October 25, 2026 00:20
@github-actions
github-actions Bot merged commit 0c27808 into main Oct 25, 2026
7 checks passed
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.

1 participant