Skip to content

lance-context: Add version 0.6.5 - #2726

Merged
luhenry merged 1 commit into
mainfrom
lance-context
Oct 8, 2026
Merged

luhenry merged 1 commit into
mainfrom
lance-context

Conversation

@luhenry

@luhenry luhenry commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Compiles a maturin/pyo3 extension over the lance Rust workspace (datafusion, arrow, lancedb, lance-index). Upstream publishes no riscv64 wheel.

Mirrors upstream's python-publish.yml linux leg.

Differs from upstream

  • Build floor cp312, not cp39 - registry's pyarrow has no riscv64 wheel below cp312
  • musllinux dropped - rustup ships no riscv64 musl toolchain
  • Vendors riscv64-patched lance-core/lance-linalg via [patch.crates-io] - no riscv64 SIMD fallback upstream
  • Drops the unused lance-graph dependency - its own lance-core/lance-linalg 1.x pin can't also be patched
  • Test extras swapped for direct pytest/moto/boto3/botocore - registry's pylance/lancedb versions don't satisfy the pins

Matrix: cp312 only - pyarrow floor, and requires-python excludes cp314/cp314t anyway

Testing

  • same as upstream (pytest -v)

License: ✅ Apache-2.0, nothing vendored

Patches

  • 0001-remove-unused-lance-graph-dependency.patch - To upstream, not submitted. Drops a dead dependency blocking the two patches below.
  • 0002-lance-core-riscv64-simd-fallback.patch - To upstream, not submitted. Without it lance-core fails to compile (expected SimdSupport, found ()). riscv64-only.
  • 0003-cargo-patch-lance-crates-for-riscv64.patch - Inappropriate, build-time only. Redirects the two crates to the patched copies above.
  • 0004-lance-linalg-riscv64-simd-fallback.patch - To upstream, not submitted. Without it lance-linalg's SIMD types don't exist on riscv64.

Built on cp312; CI pending.

maturin/pyo3 build, abi3-py39 unconditional (one cp39-abi3 wheel).
lance-core/lance-linalg (pulled in transitively via lance = "7.0.0")
have no riscv64 SIMD fallback, same gap already patched for pylance/
lancedb/rerun-sdk; vendor riscv64-fixed crates.io copies and redirect
via [patch.crates-io]. Also drops the unused lance-graph dependency,
whose own 1.x pin of the same two crates can't be patched alongside
the 7.0.0 one Cargo's [patch] table allows only one redirect per name.
luhenry added a commit that referenced this pull request Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

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-2726/

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

@luhenry
luhenry marked this pull request as ready for review October 5, 2026 22:55
luhenry added a commit that referenced this pull request Oct 5, 2026
@luhenry
luhenry merged commit e78ba0d into main Oct 8, 2026
11 of 12 checks passed
@luhenry
luhenry deleted the lance-context branch October 8, 2026 14:38
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