From 6291bd4dae0d4b9e5a31f026fd2b3e6ef343f586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Mon, 28 Dec 2020 10:05:03 -0800 Subject: [PATCH 1/3] Add missing fields to parquet_derive, parquet_derive_test's Cargo.toml --- rust/parquet_derive/Cargo.toml | 5 +++++ rust/parquet_derive_test/Cargo.toml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/rust/parquet_derive/Cargo.toml b/rust/parquet_derive/Cargo.toml index b65b64101c1..cb107fd8ec0 100644 --- a/rust/parquet_derive/Cargo.toml +++ b/rust/parquet_derive/Cargo.toml @@ -18,8 +18,13 @@ [package] name = "parquet_derive" version = "3.0.0-SNAPSHOT" +license = "Apache-2.0" +description = "Derive macros for the Rust implementation of Apache Parquet" +homepage = "https://github.com/apache/arrow" +repository = "https://github.com/apache/arrow" authors = ["Apache Arrow "] keywords = [ "parquet" ] +readme = "README.md" edition = "2018" [lib] diff --git a/rust/parquet_derive_test/Cargo.toml b/rust/parquet_derive_test/Cargo.toml index 8695b5d3cfe..b13a21c785d 100644 --- a/rust/parquet_derive_test/Cargo.toml +++ b/rust/parquet_derive_test/Cargo.toml @@ -18,6 +18,10 @@ [package] name = "parquet_derive_test" version = "3.0.0-SNAPSHOT" +license = "Apache-2.0" +description = "Integration test package for parquet-derive" +homepage = "https://github.com/apache/arrow" +repository = "https://github.com/apache/arrow" authors = ["Apache Arrow "] keywords = [ "parquet" ] edition = "2018" From 2abf80400b8a1e0bdbd3258d3f2eae3d66df8db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Mon, 28 Dec 2020 10:05:06 -0800 Subject: [PATCH 2/3] Make benchmarks, integration, parquet_derive_test explicitly non-publication targets --- rust/benchmarks/Cargo.toml | 1 + rust/integration-testing/Cargo.toml | 1 + rust/parquet_derive_test/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/rust/benchmarks/Cargo.toml b/rust/benchmarks/Cargo.toml index 617c1c5d02b..74b74ece35a 100644 --- a/rust/benchmarks/Cargo.toml +++ b/rust/benchmarks/Cargo.toml @@ -24,6 +24,7 @@ authors = ["Apache Arrow "] homepage = "https://github.com/apache/arrow" repository = "https://github.com/apache/arrow" license = "Apache-2.0" +publish = false [dependencies] arrow = { path = "../arrow" } diff --git a/rust/integration-testing/Cargo.toml b/rust/integration-testing/Cargo.toml index e4f798d7b6d..ccf58bb524d 100644 --- a/rust/integration-testing/Cargo.toml +++ b/rust/integration-testing/Cargo.toml @@ -24,6 +24,7 @@ repository = "https://github.com/apache/arrow" authors = ["Apache Arrow "] license = "Apache-2.0" edition = "2018" +publish = false [features] logging = ["tracing-subscriber"] diff --git a/rust/parquet_derive_test/Cargo.toml b/rust/parquet_derive_test/Cargo.toml index b13a21c785d..692aa76b500 100644 --- a/rust/parquet_derive_test/Cargo.toml +++ b/rust/parquet_derive_test/Cargo.toml @@ -25,6 +25,7 @@ repository = "https://github.com/apache/arrow" authors = ["Apache Arrow "] keywords = [ "parquet" ] edition = "2018" +publish = false [dependencies] parquet = { path = "../parquet", version = "3.0.0-SNAPSHOT" } From d578bbd8b9e0331bc0d81476e756b9d58556d46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Fri, 8 Jan 2021 07:48:43 -0800 Subject: [PATCH 3/3] adjust release verification scripts --- dev/release/00-prepare-test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb index 7ae4473b3d2..df27a1aa75a 100644 --- a/dev/release/00-prepare-test.rb +++ b/dev/release/00-prepare-test.rb @@ -363,8 +363,8 @@ def test_version_pre_tag path: "rust/parquet_derive_test/Cargo.toml", hunks: [ ["-version = \"#{@snapshot_version}\"", - "+version = \"#{@release_version}\"", - "-parquet = { path = \"../parquet\", version = \"#{@snapshot_version}\" }", + "+version = \"#{@release_version}\""], + ["-parquet = { path = \"../parquet\", version = \"#{@snapshot_version}\" }", "-parquet_derive = { path = \"../parquet_derive\", version = \"#{@snapshot_version}\" }", "+parquet = { path = \"../parquet\", version = \"#{@release_version}\" }", "+parquet_derive = { path = \"../parquet_derive\", version = \"#{@release_version}\" }"], @@ -610,8 +610,8 @@ def test_version_post_tag path: "rust/parquet_derive_test/Cargo.toml", hunks: [ ["-version = \"#{@release_version}\"", - "+version = \"#{@next_snapshot_version}\"", - "-parquet = { path = \"../parquet\", version = \"#{@release_version}\" }", + "+version = \"#{@next_snapshot_version}\""], + ["-parquet = { path = \"../parquet\", version = \"#{@release_version}\" }", "-parquet_derive = { path = \"../parquet_derive\", version = \"#{@release_version}\" }", "+parquet = { path = \"../parquet\", version = \"#{@next_snapshot_version}\" }", "+parquet_derive = { path = \"../parquet_derive\", version = \"#{@next_snapshot_version}\" }"],