Closed xrl closed 5 years ago
Oops. Thanks for reporting @xrl ! I agree that we should fail gracefully in this case. I've created a PR to fix this. Once it gets merged, we'll release 0.4.1.
Yes, it was added so we can propagate version for parquet. Unfortunately, I did not account for dependency install being non-repository. I suggest we patch the code ASAP and I will work on a proper fix.
Looks like the published 0.4.0 version of parquet is erroring during build, doesn't matter if it's release or debug.
The build script was added in https://github.com/sunchao/parquet-rs/pull/128
Here's the failing Cargo.toml dependency and then the error which happens during build:
error:
this is fixed by changing parquet to a git source, where the
git
command will return a value.looks like the build.rs (https://github.com/sunchao/parquet-rs/blob/master/build.rs#L20-L28) needs to be changed so it doesn't unwrap and just fails gracefully?