Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore(rust): make lance-testing a dev-dependency - #3661

Closed
saitejabandaru-in wants to merge 1 commit into
lancedb:mainfrom
saitejabandaru-in:fix/lance-testing-dev-dependency
Closed

chore(rust): make lance-testing a dev-dependency#3661
saitejabandaru-in wants to merge 1 commit into
lancedb:mainfrom
saitejabandaru-in:fix/lance-testing-dev-dependency

Conversation

@saitejabandaru-in

Copy link
Copy Markdown

Resolves #3645.

Description

Currently, lance-testing is declared as a direct dependency of the lancedb crate, pulling in testing-specific dependencies into release builds of lancedb.

Since lance-testing is only used within test modules in connection.rs and query.rs, it can be moved to [dev-dependencies] to reduce compilation time and dependency footprint for production builds.

Changes

  • Moved lance-testing from [dependencies] to [dev-dependencies] in rust/lancedb/Cargo.toml.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added Rust Rust related issues chore Small non-consequential change. Hidden from changelogs. labels Jul 14, 2026
@wjones127
wjones127 self-requested a review July 14, 2026 20:44
@saitejabandaru-in
saitejabandaru-in force-pushed the fix/lance-testing-dev-dependency branch from 8e877bd to 41d7303 Compare July 16, 2026 00:04
@wjones127

Copy link
Copy Markdown
Contributor

Thanks for the contribution, @saitejabandaru-in! Unfortunately this one is already taken care of: #3645 was resolved by #3646 (merged July 14), which moved lance-testing from [dependencies] to [dev-dependencies] as a small cleanup alongside its main fix.

On current main, lance-testing is already only in [dev-dependencies], so the remaining change here is just a cosmetic reordering of two lines within that section. The CI failures you saw (a goosefs-sdk compile error in build-no-lock and a segfault in the Python test_sql_query) were unrelated pre-existing/flaky issues, not caused by this change.

Closing as already resolved — but thanks for spotting the issue and taking the time to send a fix. Hope to see more PRs from you!

@wjones127 wjones127 closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Small non-consequential change. Hidden from changelogs. Rust Rust related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: lance-testing should be a dev-dependency

2 participants