You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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!
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
choreSmall non-consequential change. Hidden from changelogs.RustRust related issues
2 participants
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.
Resolves #3645.
Description
Currently,
lance-testingis declared as a direct dependency of thelancedbcrate, pulling in testing-specific dependencies into release builds oflancedb.Since
lance-testingis only used within test modules inconnection.rsandquery.rs, it can be moved to[dev-dependencies]to reduce compilation time and dependency footprint for production builds.Changes
lance-testingfrom[dependencies]to[dev-dependencies]inrust/lancedb/Cargo.toml.