Repository navigation
test(compat): install lance-namespace 0.13 for pylance >=14.0.0b10 - #9850
Merged
Merged
Conversation
pylance 14.0.0b10 requires lance-namespace>=0.13.0,<0.14 (bumped in #9822), so the compat venv's 0.11 pin made pip resolution fail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
wjones127
marked this pull request as ready for review
October 9, 2026 20:49
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
ChilePiquin
approved these changes
Oct 10, 2026
BubbleCal
pushed a commit
that referenced
this pull request
Oct 10, 2026
…9850) ## Summary #9822 bumped pylance's `lance-namespace` requirement to `>=0.13.0,<0.14`, first released in 14.0.0b10. The compat venv manager still installed `lance-namespace>=0.11.1,<0.12` alongside it, so pip failed with `ResolutionImpossible` and every `[14.0.0b10]` compat test failed ([run](https://github.com/lance-format/lance/actions/runs/37979490950/job/113988344868)). This maps pylance >=14.0.0b10 to the 0.13 range. ## Evidence `test_lance_namespace_dependency` now covers 14.0.0b9 (0.11 range) and 14.0.0b10 (0.13 range). ## Merge Risk **Door:** two-way. Only test harness code changes. **Blast Radius:** none. Only the compat tests are affected. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit e85fab2)
BubbleCal
added a commit
that referenced
this pull request
Oct 11, 2026
Distributed planners cannot replace the indexed work inside `HybridCompoundQueryExec`, so an appended unindexed tail keeps the entire indexed search on the query node. Add `with_indexed_input` to accept a bounded, single-partition result stream and its committed-corpus BM25 scorer. The hybrid node continues to tokenize and score residual rows, then merges both arms with the existing score/row-ID ordering and limit. With an external input, it opens only the representative segment needed for the residual tokenizer. Physical child replacement preserves the input and scorer; schema, partition count, result cardinality and null checks enforce the input contract. The compatibility-test harness also includes the merged fix from #9850, selecting `lance-namespace>=0.13.0,<0.14` for published `pylance>=14.0.0b10` wheels. Validation on AWS with the repository's Rust 1.98.1 toolchain: - 343 FTS tests, two scanner compound tests and the new API doctest pass. The seven new API tests cover native result parity, child replacement and invalid input contracts. - `cargo fmt --all -- --check` passes. - Standard full-workspace Clippy reproduces 16 errors in unchanged `lance-io` on both this change and its pinned baseline `0fd26effc79c62c244a5baf92cdda06e301baf21`. The same full-workspace check passes with command-line allowances for those two existing lints: `-A clippy::single_range_in_vec_init -A clippy::implicit_clone`. No source or repository lint settings were suppressed. - The Sophon integration passes 45 focused regressions and 1,628 complete related tests, with one existing ignored test, plus scoped Clippy on Rust 1.97.1 in release mode. CI on `df070dd26a1079426fdfecabf5b4a28b99dd2393`: [compatibility tests](https://github.com/lance-format/lance/actions/runs/38056207911/job/114226029145) pass (421 passed, 10 skipped), as do Python lint and Rust Clippy/format checks. The compatibility fix changes only two Python test-harness files; Rust source and Cargo files are unchanged from the validated API commit. The API change is based on Sophon's existing Lance pin and adds no storage or wire-format changes. --------- Co-authored-by: Yang Cen <[email protected]> Co-authored-by: Will Jones <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
wjones127
pushed a commit
that referenced
this pull request
Oct 19, 2026
The planner correction for #9772 has landed on `main` through #9789: lower-bound index results retain candidates that still need predicate evaluation. This PR adds regression coverage for NGram needles whose trigrams are all removed by tokenization. Compare indexed and unindexed results for punctuation, Unicode, empty strings, and nulls across three fragments and both row-ID modes. Extend the lower-bound scan test with empty guaranteed sets and partial limit/offset results. The merged base includes #9850, which corrects the compatibility environment's namespace dependency for `pylance>=14.0.0b10`. Validation: - Six punctuation cases failed on the original implementation and pass with the planner correction. - `cargo test -p lance --profile ci test_ngram --lib`: 20 passed. - `cargo test -p lance --profile ci test_not_or_zone_map --lib`: 8 passed. - `cargo test -p lance --profile ci io::exec::filtered_read::tests --lib -- --test-threads=1`: 141 passed. - `cargo fmt --all`: passed. - `cargo clippy --all --tests --benches -- -D warnings`: passed. - `uv run pytest --run-compat python/tests/compat/test_venv_manager.py`: 14 passed. - `uv run make lint`: passed (Ruff, type checking, Rust formatting, and binding Clippy). - `make build` from `python/`: passed. - Beta dependency dry-run: `pylance==14.0.0b10` resolves with `lance-namespace>=0.13.0,<0.14`. The filtered-read suite runs serially to avoid interference between shared tracing counters. Fixes #9772 <!-- lance-gatekeeper-fix:v1 agent=9fb12c67db5d937ba8c02cbd14ef1f66 generation=1 --> Co-authored-by: Gatefixer <312823363+lance-gatefixer[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#9822 bumped pylance's
lance-namespacerequirement to>=0.13.0,<0.14, first released in 14.0.0b10. The compat venv manager still installedlance-namespace>=0.11.1,<0.12alongside it, so pip failed withResolutionImpossibleand every[14.0.0b10]compat test failed (run). This maps pylance >=14.0.0b10 to the 0.13 range.Evidence
test_lance_namespace_dependencynow covers 14.0.0b9 (0.11 range) and 14.0.0b10 (0.13 range).Merge Risk
Door: two-way. Only test harness code changes.
Blast Radius: none. Only the compat tests are affected.
🤖 Generated with Claude Code