Repository navigation
升级 lance-ray 至 0.5.0 并固定 pylance 9.0.0 - #28
Merged
Merged
Conversation
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.
背景
lance-ray 0.4.2 + pylance 8.0.0在分布式向量索引提交阶段调用已移除的 API,Stage 3 会静默回退到 pylance 单机建索引。lance-ray 0.5.0要求 pylance 9.0.0,并使用兼容的分布式提交接口;同时修复了 compaction 默认选项的 0.4.x workaround。改动
lance-ray==0.5.0、pylance==9.0.0。devdependency group,避免 CI 依赖 lance-ray 0.4.x 曾意外携带的测试依赖。lance_ray.compact_files(),然后清理旧版本。compaction_options={}workaround;lance-ray 0.5.0 未传选项时会使用默认 compaction 配置。验证
uv sync --locked:实际安装 lance-ray 0.5.0、pylance 9.0.0、pytest 9.1.1。uv lock --check:通过。.venv/bin/python -m pytest tests -q:118 passed,1 deselected。