Skip to content

Commit

Permalink
chore: create a new minor version with the MSRV upgrade
Browse files Browse the repository at this point in the history
a number of our transitive dependencies have forced the upgrade in patch
versions of the Minimum Supported Rust Version (MSRV) and broke builds
from crates.io and `main` on Rust 1.80. 😒

This change upgrades us to 1.81 but bumps to 0.23 in the process.

Signed-off-by: R. Tyler Croy <[email protected]>
  • Loading branch information
rtyler committed Dec 20, 2024
1 parent 99e39ca commit 112fa22
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: '1.80'
toolchain: '1.81'
override: true

- name: Format
Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: '1.80'
toolchain: '1.81'
override: true

- name: build and lint with clippy
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: '1.80'
toolchain: '1.81'
override: true

- name: Run tests
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: '1.80'
toolchain: '1.81'
override: true

# Install Java and Hadoop for HDFS integration tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: '1.80'
toolchain: '1.81'
override: true
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolver = "2"

[workspace.package]
authors = ["Qingping Hou <[email protected]>"]
rust-version = "1.80"
rust-version = "1.81"
keywords = ["deltalake", "delta", "datalake"]
readme = "README.md"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions crates/aws/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-aws"
version = "0.5.0"
version = "0.6.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -12,7 +12,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
deltalake-core = { version = "0.22.0", path = "../core" }
deltalake-core = { version = "0.23.0", path = "../core" }
aws-smithy-runtime-api = { version="1.7" }
aws-smithy-runtime = { version="1.7", optional = true}
aws-credential-types = { version="1.2", features = ["hardcoded-credentials"]}
Expand Down
4 changes: 2 additions & 2 deletions crates/azure/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-azure"
version = "0.5.0"
version = "0.6.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -12,7 +12,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
deltalake-core = { version = "0.22.0", path = "../core", features = [
deltalake-core = { version = "0.23.0", path = "../core", features = [
"datafusion",
] }
lazy_static = "1"
Expand Down
4 changes: 2 additions & 2 deletions crates/catalog-glue/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-catalog-glue"
version = "0.6.0"
version = "0.7.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -15,7 +15,7 @@ rust-version.workspace = true
async-trait = { workspace = true }
aws-config = "1"
aws-sdk-glue = "1"
deltalake-core = { version = "0.22.0", path = "../core" }
deltalake-core = { version = "0.23.0", path = "../core" }
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/catalog-unity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-catalog-unity"
version = "0.6.0"
version = "0.7.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -17,7 +17,7 @@ tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
deltalake-core = { version = "0.22", path = "../core" }
deltalake-core = { version = "0.23", path = "../core" }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json", "http2"] }
reqwest-retry = "0.7"
reqwest-middleware = "0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-core"
version = "0.22.4"
version = "0.23.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand Down Expand Up @@ -128,4 +128,4 @@ datafusion = [
]
datafusion-ext = ["datafusion"]
json = ["parquet/json"]
python = ["arrow/pyarrow"]
python = ["arrow/pyarrow"]
16 changes: 8 additions & 8 deletions crates/deltalake/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake"
version = "0.22.4"
version = "0.23.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -16,13 +16,13 @@ rust-version.workspace = true
features = ["azure", "datafusion", "gcs", "hdfs", "json", "python", "s3", "unity-experimental"]

[dependencies]
deltalake-core = { version = "0.22.2", path = "../core" }
deltalake-aws = { version = "0.5.0", path = "../aws", default-features = false, optional = true }
deltalake-azure = { version = "0.5.0", path = "../azure", optional = true }
deltalake-gcp = { version = "0.6.0", path = "../gcp", optional = true }
deltalake-hdfs = { version = "0.6.0", path = "../hdfs", optional = true }
deltalake-catalog-glue = { version = "0.6.0", path = "../catalog-glue", optional = true }
deltalake-catalog-unity = { version = "0.6.0", path = "../catalog-unity", optional = true }
deltalake-core = { version = "0.23.0", path = "../core" }
deltalake-aws = { version = "0.6.0", path = "../aws", default-features = false, optional = true }
deltalake-azure = { version = "0.6.0", path = "../azure", optional = true }
deltalake-gcp = { version = "0.7.0", path = "../gcp", optional = true }
deltalake-hdfs = { version = "0.7.0", path = "../hdfs", optional = true }
deltalake-catalog-glue = { version = "0.7.0", path = "../catalog-glue", optional = true }
deltalake-catalog-unity = { version = "0.7.0", path = "../catalog-unity", optional = true }

[features]
# All of these features are just reflected into the core crate until that
Expand Down
4 changes: 2 additions & 2 deletions crates/gcp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-gcp"
version = "0.6.0"
version = "0.7.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -12,7 +12,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
deltalake-core = { version = "0.22.0", path = "../core" }
deltalake-core = { version = "0.23.0", path = "../core" }
lazy_static = "1"

# workspace depenndecies
Expand Down
4 changes: 2 additions & 2 deletions crates/hdfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-hdfs"
version = "0.6.0"
version = "0.7.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -12,7 +12,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
deltalake-core = { version = "0.22.0", path = "../core" }
deltalake-core = { version = "0.23.0", path = "../core" }
hdfs-native-object-store = "0.12"

# workspace dependecies
Expand Down
4 changes: 2 additions & 2 deletions crates/mount/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-mount"
version = "0.6.0"
version = "0.7.0"
authors.workspace = true
keywords.workspace = true
readme.workspace = true
Expand All @@ -12,7 +12,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
deltalake-core = { version = "0.22.0", path = "../core", features = [
deltalake-core = { version = "0.23.0", path = "../core", features = [
"datafusion",
] }
lazy_static = "1"
Expand Down
4 changes: 2 additions & 2 deletions crates/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "deltalake-test"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
publish = false

[dependencies]
bytes = { workspace = true }
chrono = { workspace = true, default-features = false, features = ["clock"] }
deltalake-core = { version = "0.22.0", path = "../core" }
deltalake-core = { version = "0.23.0", path = "../core" }
dotenvy = "0"
fs_extra = "1.3.0"
futures = { version = "0.3" }
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deltalake-python"
version = "0.22.4"
version = "0.23.0"
authors = ["Qingping Hou <[email protected]>", "Will Jones <[email protected]>"]
homepage = "https://github.com/delta-io/delta-rs"
license = "Apache-2.0"
Expand Down

0 comments on commit 112fa22

Please sign in to comment.