apache / apache/arrow-rs-object-store

object_store 0.13.2 breaks backward compatibility in patch release

Open
#677 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
322
Forks
212
Avg merge
5d 2h
Merged PRs (30d)
10

Description

After updating the dependency from 0.13.1 to 0.13.2, I get this build error in arrow-rs with `cargo check -p parquet --all-features`:

```
error[E0432]: unresolved import `object_store::buffered`
--> parquet/src/arrow/async_writer/store.rs:25:19
|
25 | use object_store::buffered::BufWriter;
| ^^^^^^^^ could not find `buffered` in `object_store`
|
note: found an item that was configured out
--> /Users/mzabaluev/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.13.2/src/lib.rs:545:9
|
544 | #[cfg(feature = "tokio")]
| ----------------- the item is gated behind the `tokio` feature
545 | pub mod buffered;
| ^^^^^^^^
```

## Expected behavior

Changing feature gates should be considered a breaking change not done in patch releases.

Contributor guide

Open the contributing guide

Research direction

Start with parquet/src/arrow/async_writer/store.rs and reproduce the failure using cargo check -p parquet --all-features. Then inspect the object_store 0.13.2 feature gate shown in the error and the dependency configuration; the work is done when the build succeeds without introducing a backward-incompatible change in a patch release.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.