Describe the bug
As we saw in #3413, the contents of the arrow-rs release tarballs do not work when used alone. When uploaded to crates.io things work fine as crates.io modifies the Cargo.toml files.
Since almost everyone uses the crates.io distribution this issue is likely not a big deal.
To Reproduce
- Download a tarball such as https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-rs-30.0.0-rc1/apache-arrow-rs-30.0.0.tar.gz
- try to build the parquet parquet crate:
(cd parquet && cargo build)
This will fail with a message like
error: failed to get `object_store` as a dependency of package `parquet v30.0.0 (/tmp/arrow/parquet)`
Expected behavior
The build should work
Additional context
I think (and @tustvold suggested) is that we should apply the fix in #3413 to the tarball creation rather than during verification
So that would mean something like rewriting
object_store = { version = "0.5", path = "../object_store", default-features = false, optional = true }
To remove the path = "../object_store"
object_store = { version = "0.5", default-features = false, optional = true }
Describe the bug
As we saw in #3413, the contents of the arrow-rs release tarballs do not work when used alone. When uploaded to crates.io things work fine as crates.io modifies the
Cargo.tomlfiles.Since almost everyone uses the crates.io distribution this issue is likely not a big deal.
To Reproduce
(cd parquet && cargo build)This will fail with a message like
Expected behavior
The build should work
Additional context
I think (and @tustvold suggested) is that we should apply the fix in #3413 to the tarball creation rather than during verification
So that would mean something like rewriting
To remove the
path = "../object_store"