This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 8d26b12 ARROW-8535: [Rust] Specify arrow-flight version
8d26b12 is described below
commit 8d26b12bf2b9ae0641b3ae9e1f700ea003f9fc57
Author: Neville Dipale <[email protected]>
AuthorDate: Mon Jul 6 08:01:31 2020 -0600
ARROW-8535: [Rust] Specify arrow-flight version
This is to ensure that Rust users who include the arrow crate from
crates.io do not get errors as they would not have the arrow-flight directory
Closes #7591 from nevi-me/ARROW-8535
Authored-by: Neville Dipale <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
---
dev/release/00-prepare-test.rb | 4 ++++
rust/arrow/Cargo.toml | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb
index 53db488..c7b6b9e 100644
--- a/dev/release/00-prepare-test.rb
+++ b/dev/release/00-prepare-test.rb
@@ -274,6 +274,8 @@ class PrepareTest < Test::Unit::TestCase
hunks: [
["-version = \"#{@snapshot_version}\"",
"+version = \"#{@release_version}\""],
+ ["-arrow-flight = { path = \"../arrow-flight\",
optional = true, version = \"#{@snapshot_version}\" }",
+ "+arrow-flight = { path = \"../arrow-flight\",
optional = true, version = \"#{@release_version}\" }"],
],
},
{
@@ -479,6 +481,8 @@ class PrepareTest < Test::Unit::TestCase
hunks: [
["-version = \"#{@release_version}\"",
"+version = \"#{@next_snapshot_version}\""],
+ ["-arrow-flight = { path = \"../arrow-flight\",
optional = true, version = \"#{@release_version}\" }",
+ "+arrow-flight = { path = \"../arrow-flight\",
optional = true, version = \"#{@next_snapshot_version}\" }"],
],
},
{
diff --git a/rust/arrow/Cargo.toml b/rust/arrow/Cargo.toml
index 04e2463..d23441b 100644
--- a/rust/arrow/Cargo.toml
+++ b/rust/arrow/Cargo.toml
@@ -49,7 +49,7 @@ packed_simd = { version = "0.3", optional = true }
chrono = "0.4"
flatbuffers = "0.6"
hex = "0.4"
-arrow-flight = { path = "../arrow-flight", optional = true }
+arrow-flight = { path = "../arrow-flight", optional = true, version =
"1.0.0-SNAPSHOT" }
prettytable-rs = { version = "0.8.0", optional = true }
[features]