You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/16 21:00:17 UTC

[GitHub] [arrow-rs] alamb opened a new pull request, #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

alamb opened a new pull request, #2752:
URL: https://github.com/apache/arrow-rs/pull/2752

   # Which issue does this PR close?
   
   Fixes: https://github.com/apache/arrow-rs/issues/2751
   re https://github.com/apache/arrow-rs/issues/2665
   
   
   # Rationale for this change
   https://github.com/apache/arrow-rs/pull/2693 added a new `arrow-buffer` crate on which arrow depends which is good 🎉 
   
   ⚖️  but it means we can no longer run `cargo publish --dry-run` for `arrow` as it it now depends on an as-yet-unpublushed crate (`arrow-buffer`)
   
   
   # What changes are included in this PR?
   
   1. change to run `cargo publish --dry-run` for the leaf crate `arrow-buffer` rather than `arrow`
   2. Remove unecessary (and ineffective `sed` command)
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking change` label.
   -->
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] ursabot commented on pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#issuecomment-1249941750

   Benchmark runs are scheduled for baseline = 5a55406cf24171600a143a83a95046c7513fd92c and contender = ca00b671500b693f8c5e07ac4ea600269adfa2b6. ca00b671500b693f8c5e07ac4ea600269adfa2b6 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ec2-t3-xlarge-us-east-2] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/1cfa95004eb348dc810452a8e7e455d7...0b53410e9e074d1e826d5de5de6216b7/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on test-mac-arm] [test-mac-arm](https://conbench.ursa.dev/compare/runs/784a9a5633f0410b959bd37d5032dfec...e049ef882d1d448fb6ef56a9f19ac014/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-i9-9960x] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/02458de787fa4558b1a411815764406c...1d173a7a501c4c2b8eeaa8c1ca527f7f/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-thinkcentre-m75q] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/d275f84b390943ee99b3147ee1b2694c...727c890af66a4f47b510b0a520c3eed5/)
   Buildkite builds:
   Supported benchmarks:
   ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
   test-mac-arm: Supported benchmark langs: C++, Python, R
   ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
   ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb commented on a diff in pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
alamb commented on code in PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#discussion_r973506049


##########
dev/release/verify-release-candidate.sh:
##########
@@ -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

Review Comment:
   yeah, it would be great to verify all the crates...



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] viirya commented on a diff in pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
viirya commented on code in PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#discussion_r973390471


##########
dev/release/verify-release-candidate.sh:
##########
@@ -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

Review Comment:
   Seems due to https://github.com/rust-lang/cargo/issues/1565



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] iajoiner commented on pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
iajoiner commented on PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#issuecomment-1249829774

   @alamb Really thanks! This works!


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb commented on a diff in pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
alamb commented on code in PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#discussion_r973389230


##########
dev/release/verify-release-candidate.sh:
##########
@@ -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

Review Comment:
   These regex don't actually match anything and I found the script passes for me without this code



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb merged pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
alamb merged PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] viirya commented on a diff in pull request #2752: Fix `verify_release_candidate.sh` for new arrow subcrates

Posted by GitBox <gi...@apache.org>.
viirya commented on code in PR #2752:
URL: https://github.com/apache/arrow-rs/pull/2752#discussion_r973390893


##########
dev/release/verify-release-candidate.sh:
##########
@@ -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

Review Comment:
   Only verifying on leaf crates seems not perfect, but it appears that no better way to fix it.



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org