Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin chrono version to fix arrow compilation failure #719

Merged
merged 4 commits into from
Feb 28, 2025
Merged

Conversation

hntd187
Copy link
Collaborator

@hntd187 hntd187 commented Feb 27, 2025

What changes are proposed in this pull request?

Current chrono 0.4.40 breaks building arrow, pin chrono to a prior version that does not break arrow.

How was this change tested?

CI/CD

Current chrono 0.4.40 breaks building arrow, pin chrono to a prior version that does not break arrow.
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.05%. Comparing base (8b5e06d) to head (ce99fae).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #719   +/-   ##
=======================================
  Coverage   84.04%   84.05%           
=======================================
  Files          77       77           
  Lines       18063    18063           
  Branches    18063    18063           
=======================================
+ Hits        15181    15182    +1     
+ Misses       2164     2163    -1     
  Partials      718      718           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added the breaking-change Change that will require a version bump label Feb 27, 2025
Cargo.toml Outdated
@@ -19,7 +19,7 @@ keywords = ["deltalake", "delta", "datalake"]
license = "Apache-2.0"
repository = "https://github.com/delta-io/delta-kernel-rs"
readme = "README.md"
rust-version = "1.80"
rust-version = "1.81"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If arrow version didn't change, why do we need to bump the MSRV?
Did they bump their MSRV in a point release?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm seeing arrow is on 1.70? But I am seeing our MSRV failing with:

error: rustc 1.80.0 is not supported by the following packages:        │
  │   [email protected] requires rustc 1.81                                    │
  │   [email protected] requires rustc 1.81 

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's weird... both those crates seem to be deep dependencies in icu_normalizer which in turn is a dep of url?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmmm.. and Url has MSRV of 1.63.0..?

@samansmink
Copy link

I believe this has been since fixed upstream, I was able to remove the pin again and get it to build

@zachschuermann
Copy link
Collaborator

yep looks like arrow did a hotfix for 54.2.1: apache/arrow-rs#7198 (comment)

but I think arrow 53 is still broken?

Copy link
Collaborator

@zachschuermann zachschuermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also update title to be specific about the chrono version pinning to fix arrow's issue?

Cargo.toml Outdated
@@ -19,7 +19,7 @@ keywords = ["deltalake", "delta", "datalake"]
license = "Apache-2.0"
repository = "https://github.com/delta-io/delta-kernel-rs"
readme = "README.md"
rust-version = "1.80"
rust-version = "1.81"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now maybe let's just do the chrono fix and visit this separately?

@nicklan nicklan removed the breaking-change Change that will require a version bump label Feb 28, 2025
Copy link
Collaborator

@nicklan nicklan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. I think we'll get a breaking-change label here because the job can't compile in main. But you should remove that before merge because it's not one.

Copy link
Collaborator

@zachschuermann zachschuermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks!

@zachschuermann zachschuermann changed the title Update Cargo.toml pin chrono version to fix arrow compilation failure Feb 28, 2025
@github-actions github-actions bot added the breaking-change Change that will require a version bump label Feb 28, 2025
@nicklan nicklan removed the breaking-change Change that will require a version bump label Feb 28, 2025
@hntd187 hntd187 merged commit 4c00de4 into main Feb 28, 2025
34 of 38 checks passed
@hntd187 hntd187 deleted the hntd187-patch-1 branch February 28, 2025 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants