From deb929369c9aaba728ae0c2c49dcd05bfecc8bf8 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Tue, 10 Aug 2021 17:48:53 -0600 Subject: [PATCH] Add version to ballista dependencies (#852) --- ballista/rust/client/Cargo.toml | 8 ++++---- ballista/rust/core/Cargo.toml | 2 +- ballista/rust/executor/Cargo.toml | 10 ++++------ ballista/rust/scheduler/Cargo.toml | 7 +++---- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/ballista/rust/client/Cargo.toml b/ballista/rust/client/Cargo.toml index 3507a7b22a45..7b22bae0549d 100644 --- a/ballista/rust/client/Cargo.toml +++ b/ballista/rust/client/Cargo.toml @@ -26,14 +26,14 @@ authors = ["Apache Arrow "] edition = "2018" [dependencies] -ballista-core = { path = "../core" } -ballista-executor = { path = "../executor", optional = true } -ballista-scheduler = { path = "../scheduler", optional = true } +ballista-core = { path = "../core", version = "0.5.0" } +ballista-executor = { path = "../executor", version = "0.5.0", optional = true } +ballista-scheduler = { path = "../scheduler", version = "0.5.0", optional = true } futures = "0.3" log = "0.4" tokio = "1.0" -datafusion = { path = "../../../datafusion" } +datafusion = { path = "../../../datafusion", version = "5.0.0" } [features] default = [] diff --git a/ballista/rust/core/Cargo.toml b/ballista/rust/core/Cargo.toml index f61f32259f30..b2fa50c889a5 100644 --- a/ballista/rust/core/Cargo.toml +++ b/ballista/rust/core/Cargo.toml @@ -44,7 +44,7 @@ uuid = { version = "0.8", features = ["v4"] } arrow-flight = { version = "5.0" } -datafusion = { path = "../../../datafusion" } +datafusion = { path = "../../../datafusion", version = "5.0.0" } [dev-dependencies] tempfile = "3" diff --git a/ballista/rust/executor/Cargo.toml b/ballista/rust/executor/Cargo.toml index f30015b884a4..8600409b1de4 100644 --- a/ballista/rust/executor/Cargo.toml +++ b/ballista/rust/executor/Cargo.toml @@ -29,10 +29,13 @@ edition = "2018" snmalloc = ["snmalloc-rs"] [dependencies] +arrow = { version = "5.0" } +arrow-flight = { version = "5.0" } anyhow = "1" async-trait = "0.1.36" -ballista-core = { path = "../core" } +ballista-core = { path = "../core", version = "0.5.0" } configure_me = "0.4.0" +datafusion = { path = "../../../datafusion", version = "5.0.0" } env_logger = "0.8" futures = "0.3" log = "0.4" @@ -43,11 +46,6 @@ tokio-stream = { version = "0.1", features = ["net"] } tonic = "0.5" uuid = { version = "0.8", features = ["v4"] } -arrow = { version = "5.0" } -arrow-flight = { version = "5.0" } - -datafusion = { path = "../../../datafusion" } - [dev-dependencies] [build-dependencies] diff --git a/ballista/rust/scheduler/Cargo.toml b/ballista/rust/scheduler/Cargo.toml index fb6286669b93..c772ba9f240d 100644 --- a/ballista/rust/scheduler/Cargo.toml +++ b/ballista/rust/scheduler/Cargo.toml @@ -32,9 +32,10 @@ sled = ["sled_package", "tokio-stream"] [dependencies] anyhow = "1" -ballista-core = { path = "../core" } +ballista-core = { path = "../core", version = "0.5.0" } clap = "2" configure_me = "0.4.0" +datafusion = { path = "../../../datafusion", version = "5.0.0" } env_logger = "0.8" etcd-client = { version = "0.6", optional = true } futures = "0.3" @@ -53,10 +54,8 @@ tonic = "0.5" tower = { version = "0.4" } warp = "0.3" -datafusion = { path = "../../../datafusion" } - [dev-dependencies] -ballista-core = { path = "../core" } +ballista-core = { path = "../core", version = "0.5.0" } uuid = { version = "0.8", features = ["v4"] } [build-dependencies]