-
Notifications
You must be signed in to change notification settings - Fork 881
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
ChronoDateExt::quarter()
conflicts with chrono v0.4.40
#7196
ChronoDateExt::quarter()
conflicts with chrono v0.4.40
#7196
Comments
This issue is blocking our builds. I saw there was a fix applied in #7198, does anyone know when this will be released? |
Unfortunately chrono released a breaking change in a patch release, whilst #7198 updates to accomodate this breaking change, downstreams will need to pin to chrono v0.4.39 either using a lockfile or an explicit dependency |
For a hot quick fix, this should work: arrow = { git = "https://github.com/apache/arrow-rs" }
arrow-schema = { git = "https://github.com/apache/arrow-rs" }
arrow-data = { git = "https://github.com/apache/arrow-rs" }
arrow-array = { git = "https://github.com/apache/arrow-rs" } But, this is just for currently build on git. I wonder if this issue makes old version of arrrow by default unusable, as well as all package like mine dependant on arrow. |
A simpler option would be
Anywhere in the workspace
They'll work fine provided something, e.g. lockfile or constraint, encourages cargo to not use |
# Rationale for this change chrono `v0.4.40` implemented a `quarter` method that causes build errors when building with arrow. See bug apache/arrow-rs#7196 and this commit apache/arrow-rs#7210. The suggested workaround is to pin chrono to `v0.4.39`. # What changes are included in this PR? - Pins chrono to the latest version that works with arrow, `v0.4.39` # Are these changes tested? Yes
I needed to downgrade DataFusion from 44.0.0 to 43.0.0, arrow to =53.2.0, and chrono to =0.4.38 , in order for Elusion crate to build. I had consideration for ODBC as well, so thats why chrono is on 0.4.38 |
Fixes apache/arrow-rs#7196 but breaks build with bundled duckdb (duckdb/duckdb-rs#436)
Describe the bug
chrono v0.4.40, which was released just a few hours ago, provides its own
.quarter()
method.pull request: chronotope/chrono#1666
So, this now conflicts with the arrow's implementation.
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: