-
Notifications
You must be signed in to change notification settings - Fork 530
fix: cherry-pick for v2.0.0-rc.2 #5795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ly (lance-format#5793) In Rust nightly, __cpuid was changed to be a safe function, making the unsafe block unnecessary. This causes a warning that fails CI when -D warnings is set (e.g., via setup-rust-toolchain action). Adding #[allow(unused_unsafe)] allows the code to compile without warnings on both stable (where unsafe is required) and nightly (where it's no longer needed). Also add RUSTFLAGS="-D warnings" to the linux-build CI job to catch such issues early. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This PR will expose blob handling APIs to python so that users can just scan all blobs as binary. --- **Parts of this PR were drafted with assistance from Codex (with `gpt-5.2`) and fully reviewed and edited by me. I take full responsibility for all changes.** --------- Co-authored-by: Will Jones <willjones127@gmail.com>
Review SummaryThis is a cherry-pick PR for v2.0.0-rc.2 that brings two previously merged commits:
P1 Issue FoundTypo in type hint ( The
This means type checkers will flag the correct value as invalid. Should be: blob_handling: Optional[
Literal["all_binary", "blobs_descriptions", "all_descriptions"]
] = None,No Other IssuesThe rest of the changes look correct:
|
…rmat#5759) Closes lance-format#5762 - Replace `@torch.jit.script` with `@torch.compile` in distance.py (6 functions) - Add `torch>=2.0` version constraint - Add filterwarning for PyTorch inductor's use of deprecated `load_module()` - [x] `pytest python/tests/torch_tests/test_distance.py` passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Fix typo in python.
Co-authored-by: Xuanwo <github@xuanwo.io>
Pandas 3 just released. This caused some tests to fail.
This PR will try to make tests more stable --- **Parts of this PR were drafted with assistance from Codex (with `gpt-5.2`) and fully reviewed and edited by me. I take full responsibility for all changes.**
No description provided.