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-namespace type crossing the lance-context <-> lance-graph boundary won't type-check (distinct types from distinct majors).
- Even when interchange is Arrow-only, two
lance runtimes 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.)
Summary
The
0.5.xrelease line oflance-contextpulls two incompatible major versions oflance(andlance-namespace) into a single dependency tree, because its pinnedlance-graphwas not re-cut against the newerlance.Evidence (from crates.io published metadata)
lance-context-core0.3.0->0.5.1declare:but
lance-graph 0.5.4(the exact version pinned above) declares:So
lanceresolves to both^7and^1(andlance-namespaceto both^7and^1.0.1) in the same tree.Why this is a problem
lance/lance-namespacetype crossing thelance-context<->lance-graphboundary won't type-check (distinct types from distinct majors).lanceruntimes touching the same datasets risk on-disk format skew across six majors.What was coherent
The
0.2.xline was internally consistent --lance-context-core 0.2.4usedlance ^1.0.0andlance-graph ^0.4.0, which itself useslance ^1.0.0.Ask
Cut a
lance-graphrelease built againstlance 7.x(+lance-namespace 7.x) and bumplance-context-core'slance-graphpin so the0.5.xline resolves to a singlelancemajor.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-context0.5.x dependency tree, and the target must be lance 7.x specifically to match whatlance-context-core0.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.0withpylance==4.0.1.)