-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix verify_release_candidate.sh
for new arrow subcrates
#2752
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,21 +116,16 @@ test_source_distribution() { | |
export ARROW_TEST_DATA=$PWD/arrow-testing-data/data | ||
export PARQUET_TEST_DATA=$PWD/parquet-testing-data/data | ||
|
||
# use local modules because we don't publish modules to crates.io yet | ||
sed \ | ||
-i.bak \ | ||
-E \ | ||
-e 's/^arrow = "([^"]*)"/arrow = { version = "\1", path = "..\/arrow" }/g' \ | ||
-e 's/^parquet = "([^"]*)"/parquet = { version = "\1", path = "..\/parquet" }/g' \ | ||
*/Cargo.toml | ||
|
||
(cd arrow && cargo build && cargo test) | ||
(cd arrow-flight && cargo build && cargo test) | ||
(cd parquet && cargo build && cargo test) | ||
(cd parquet_derive && cargo build && cargo test) | ||
|
||
# verify that the crates can be published to crates.io | ||
pushd arrow | ||
# verify that the leaf crates can be published to crates.io | ||
# we can't verify crates that depend on others | ||
# (because the others haven't yet been published to crates.io) | ||
|
||
pushd arrow-buffer | ||
cargo publish --dry-run | ||
popd | ||
Comment on lines
+128
to
130
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems due to rust-lang/cargo#1565 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only verifying on leaf crates seems not perfect, but it appears that no better way to fix it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, it would be great to verify all the crates... |
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These regex don't actually match anything and I found the script passes for me without this code