alamb opened a new issue, #3414:
URL: https://github.com/apache/arrow-rs/issues/3414

   **Describe the bug**
   As we saw in https://github.com/apache/arrow-rs/pull/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**
   1. 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
   2. 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 
https://github.com/apache/arrow-rs/pull/3413 to the tarball creation rather 
than during verification
   
   So that would mean  something like
   
   ```
     # object_store = { version = "0.5", path = "../object_store", 
default-features = false, optional = true }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to