Skip to content

Commit dc4ae20

Browse files
authored
Increase minimum supported Rust version (MSRV) to 1.80 (#13622)
* Increase minimum supported Rust version (MSRV) to 1.80 Current goal is to support four last stable versions or versions for 4 months whichever is lower. Given 1.80.0 was released on: 25 July, 2024 it's over 4 months old and 1.79 does not need to be supported. * update dockerfile and workflow comment
1 parent fdb221f commit dc4ae20

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,9 @@ jobs:
582582
#
583583
# To reproduce:
584584
# 1. Install the version of Rust that is failing. Example:
585-
# rustup install 1.79.0
585+
# rustup install 1.80.0
586586
# 2. Run the command that failed with that version. Example:
587-
# cargo +1.79.0 check -p datafusion
587+
# cargo +1.80.0 check -p datafusion
588588
#
589589
# To resolve, either:
590590
# 1. Change your code to use older Rust features,

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ homepage = "https://datafusion.apache.org"
6565
license = "Apache-2.0"
6666
readme = "README.md"
6767
repository = "https://github.com/apache/datafusion"
68-
rust-version = "1.79"
68+
rust-version = "1.80"
6969
version = "43.0.0"
7070

7171
[workspace.dependencies]

datafusion-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ license = "Apache-2.0"
2626
homepage = "https://datafusion.apache.org"
2727
repository = "https://github.com/apache/datafusion"
2828
# Specify MSRV here as `cargo msrv` doesn't support workspace version
29-
rust-version = "1.79"
29+
rust-version = "1.80"
3030
readme = "README.md"
3131

3232
[dependencies]

datafusion-cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
FROM rust:1.79-bookworm AS builder
18+
FROM rust:1.80-bookworm AS builder
1919

2020
COPY . /usr/src/datafusion
2121
COPY ./datafusion /usr/src/datafusion/datafusion

datafusion/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ authors = { workspace = true }
3030
# Specify MSRV here as `cargo msrv` doesn't support workspace version and fails with
3131
# "Unable to find key 'package.rust-version' (or 'package.metadata.msrv') in 'arrow-datafusion/Cargo.toml'"
3232
# https://github.com/foresterre/cargo-msrv/issues/590
33-
rust-version = "1.79"
33+
rust-version = "1.80"
3434

3535
[lints]
3636
workspace = true

datafusion/ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repository = { workspace = true }
2626
license = { workspace = true }
2727
authors = { workspace = true }
2828
# Specify MSRV here as `cargo msrv` doesn't support workspace version
29-
rust-version = "1.76"
29+
rust-version = "1.80"
3030

3131
[lints]
3232
workspace = true

datafusion/proto-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ homepage = { workspace = true }
2626
repository = { workspace = true }
2727
license = { workspace = true }
2828
authors = { workspace = true }
29-
rust-version = "1.79"
29+
rust-version = "1.80"
3030

3131
# Exclude proto files so crates.io consumers don't need protoc
3232
exclude = ["*.proto"]

datafusion/proto-common/gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name = "gen-common"
2020
description = "Code generation for proto"
2121
version = "0.1.0"
2222
edition = { workspace = true }
23-
rust-version = "1.79"
23+
rust-version = "1.80"
2424
authors = { workspace = true }
2525
homepage = { workspace = true }
2626
repository = { workspace = true }

datafusion/proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repository = { workspace = true }
2727
license = { workspace = true }
2828
authors = { workspace = true }
2929
# Specify MSRV here as `cargo msrv` doesn't support workspace version
30-
rust-version = "1.79"
30+
rust-version = "1.80"
3131

3232
# Exclude proto files so crates.io consumers don't need protoc
3333
exclude = ["*.proto"]

datafusion/proto/gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name = "gen"
2020
description = "Code generation for proto"
2121
version = "0.1.0"
2222
edition = { workspace = true }
23-
rust-version = "1.79"
23+
rust-version = "1.80"
2424
authors = { workspace = true }
2525
homepage = { workspace = true }
2626
repository = { workspace = true }

datafusion/substrait/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repository = { workspace = true }
2626
license = { workspace = true }
2727
authors = { workspace = true }
2828
# Specify MSRV here as `cargo msrv` doesn't support workspace version
29-
rust-version = "1.79"
29+
rust-version = "1.80"
3030

3131
[lints]
3232
workspace = true

0 commit comments

Comments
 (0)