This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 56946b4d5d Increase minimum supported Rust version (MSRV) to 1.79
(#12962)
56946b4d5d is described below
commit 56946b4d5df89f6ac3f07e06591e909aa2942e4e
Author: Piotr Findeisen <[email protected]>
AuthorDate: Thu Oct 17 16:10:14 2024 +0200
Increase minimum supported Rust version (MSRV) to 1.79 (#12962)
Current goal is to support four last stable versions or versions for 4
months whichever is lower. Given 1.78.0 was released on: 2 May, 2024,
it does not need to be supported.
---
.github/workflows/rust.yml | 4 ++--
Cargo.toml | 2 +-
datafusion-cli/Cargo.toml | 2 +-
datafusion-cli/Dockerfile | 2 +-
datafusion/core/Cargo.toml | 2 +-
datafusion/proto-common/Cargo.toml | 2 +-
datafusion/proto-common/gen/Cargo.toml | 2 +-
datafusion/proto/Cargo.toml | 2 +-
datafusion/proto/gen/Cargo.toml | 2 +-
datafusion/substrait/Cargo.toml | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 4527d047e4..39b7b2b178 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -574,9 +574,9 @@ jobs:
#
# To reproduce:
# 1. Install the version of Rust that is failing. Example:
- # rustup install 1.78.0
+ # rustup install 1.79.0
# 2. Run the command that failed with that version. Example:
- # cargo +1.78.0 check -p datafusion
+ # cargo +1.79.0 check -p datafusion
#
# To resolve, either:
# 1. Change your code to use older Rust features,
diff --git a/Cargo.toml b/Cargo.toml
index 448607257c..2c142c87c8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,7 +58,7 @@ homepage = "https://datafusion.apache.org"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/apache/datafusion"
-rust-version = "1.78"
+rust-version = "1.79"
version = "42.0.0"
[workspace.dependencies]
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.toml
index b86dbd2a38..fe929495aa 100644
--- a/datafusion-cli/Cargo.toml
+++ b/datafusion-cli/Cargo.toml
@@ -26,7 +26,7 @@ license = "Apache-2.0"
homepage = "https://datafusion.apache.org"
repository = "https://github.com/apache/datafusion"
# Specify MSRV here as `cargo msrv` doesn't support workspace version
-rust-version = "1.78"
+rust-version = "1.79"
readme = "README.md"
[dependencies]
diff --git a/datafusion-cli/Dockerfile b/datafusion-cli/Dockerfile
index 7adead64db..79c24f6baf 100644
--- a/datafusion-cli/Dockerfile
+++ b/datafusion-cli/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM rust:1.78-bookworm AS builder
+FROM rust:1.79-bookworm AS builder
COPY . /usr/src/datafusion
COPY ./datafusion /usr/src/datafusion/datafusion
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 28d0d136bd..8c4ad80e29 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -30,7 +30,7 @@ authors = { workspace = true }
# Specify MSRV here as `cargo msrv` doesn't support workspace version and
fails with
# "Unable to find key 'package.rust-version' (or 'package.metadata.msrv') in
'arrow-datafusion/Cargo.toml'"
# https://github.com/foresterre/cargo-msrv/issues/590
-rust-version = "1.78"
+rust-version = "1.79"
[lints]
workspace = true
diff --git a/datafusion/proto-common/Cargo.toml
b/datafusion/proto-common/Cargo.toml
index 5051c8f932..6c53e1b1ce 100644
--- a/datafusion/proto-common/Cargo.toml
+++ b/datafusion/proto-common/Cargo.toml
@@ -26,7 +26,7 @@ homepage = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
-rust-version = "1.78"
+rust-version = "1.79"
# Exclude proto files so crates.io consumers don't need protoc
exclude = ["*.proto"]
diff --git a/datafusion/proto-common/gen/Cargo.toml
b/datafusion/proto-common/gen/Cargo.toml
index 0914669f82..6e5783f467 100644
--- a/datafusion/proto-common/gen/Cargo.toml
+++ b/datafusion/proto-common/gen/Cargo.toml
@@ -20,7 +20,7 @@ name = "gen-common"
description = "Code generation for proto"
version = "0.1.0"
edition = { workspace = true }
-rust-version = "1.78"
+rust-version = "1.79"
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.toml
index d65c6ccaa6..3ffe5e3e76 100644
--- a/datafusion/proto/Cargo.toml
+++ b/datafusion/proto/Cargo.toml
@@ -27,7 +27,7 @@ repository = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
# Specify MSRV here as `cargo msrv` doesn't support workspace version
-rust-version = "1.78"
+rust-version = "1.79"
# Exclude proto files so crates.io consumers don't need protoc
exclude = ["*.proto"]
diff --git a/datafusion/proto/gen/Cargo.toml b/datafusion/proto/gen/Cargo.toml
index ea28ac86e8..aee8fac4a1 100644
--- a/datafusion/proto/gen/Cargo.toml
+++ b/datafusion/proto/gen/Cargo.toml
@@ -20,7 +20,7 @@ name = "gen"
description = "Code generation for proto"
version = "0.1.0"
edition = { workspace = true }
-rust-version = "1.78"
+rust-version = "1.79"
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.toml
index 6f8f81401f..4175501828 100644
--- a/datafusion/substrait/Cargo.toml
+++ b/datafusion/substrait/Cargo.toml
@@ -26,7 +26,7 @@ repository = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
# Specify MSRV here as `cargo msrv` doesn't support workspace version
-rust-version = "1.78"
+rust-version = "1.79"
[lints]
workspace = true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]