lance-context 0.5.x pulls two incompatible lance majors (0.5.x needs lance 7.x, but pinned lance-graph 0.5.4 needs lance 1.x)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by inspecting the dependency declarations for lance-context-core 0.3.0 and the pinned lance-graph 0.5.4, then compare their published crates.io metadata. Done means a lance-graph release built against lance 7.x and lance-namespace 7.x, with the lance-context-core pin updated so the dependency tree resolves to one Lance major.
Written by the indexing model from the issue text.
Description
Summary
The 0.5.x release line of lance-context pulls two incompatible major versions of lance (and lance-namespace) into a single dependency tree, because its pinned lance-graph was not re-cut against the newer lance.
Evidence (from crates.io published metadata)
lance-context-core 0.3.0 -> 0.5.1 declare:
lance ^7.0.0
lance-index ^7.0.0
lance-namespace ^7.0.0
lance-graph ^0.5.4
but lance-graph 0.5.4 (the exact version pinned above) declares:
lance ^1.0.0
lance-linalg ^1.0.0
lance-namespace ^1.0.1
So lance resolves to both ^7 and ^1 (and lance-namespace to both ^7 and ^1.0.1) in the same tree.
Why this is a problem
- Any native
lance/lance-namespacetype crossing thelance-context<->lance-graphboundary won't type-check (distinct types from distinct majors). - Even when interchange is Arrow-only, two
lanceruntimes touching the same datasets risk on-disk format skew across six majors.
What was coherent
The 0.2.x line was internally consistent -- lance-context-core 0.2.4 used lance ^1.0.0 and lance-graph ^0.4.0, which itself uses lance ^1.0.0.
Ask
Cut a lance-graph release built against lance 7.x (+ lance-namespace 7.x) and bump lance-context-core's lance-graph pin so the 0.5.x line resolves to a single lance major.
Related to but distinct from #153 (bump lance deps for perf). #153 is a plain version bump; this is a correctness/build problem in the lance-context 0.5.x dependency tree, and the target must be lance 7.x specifically to match what lance-context-core 0.3.0+ already declares -- bumping to any other major just relocates the mismatch.
Happy to test a pre-release. (Consumer side: Python lance-context==0.4.0 with pylance==4.0.1.)
- Dominant language
- Rust
- Stars
- 179
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lance-format/lance-graph
-
LDBC benchmark: insignificant performance gain from enabling Lance dataset indexes for LanceGraph Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
lance-format/lance-graph#166 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
lance-format/lance-graph#164 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
lance-format/lance-graph#163 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
lance-format/lance-graph#159 · 16 comments · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
lance-format/lance-graph#156 · 1 comment ·
All issues in lance-format/lance-graph
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100