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

Commit 2fddf85 broke my crate - Elusion #7205

Closed
DataBora opened this issue Feb 26, 2025 · 6 comments
Closed

Commit 2fddf85 broke my crate - Elusion #7205

DataBora opened this issue Feb 26, 2025 · 6 comments
Labels

Comments

@DataBora
Copy link

DataBora commented Feb 26, 2025

Now i have colision between Chrono and arrow-arith

C:\Users\Korisnik\.cargo\registry\src\index.crates.io-6f17d22bba15001f\arrow-arith-53.3.0\src\temporal.rs:637:5
|

637 | fn quarter(&self) -> u32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait Datelike
--> C:\Users\Korisnik.cargo\registry\src\index.crates.io-6f17d22bba15001f\chrono-0.4.40\src\traits.rs:47:5
|
47 | fn quarter(&self) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
|
91 | DatePart::Quarter => |d| ChronoDateExt::quarter(&d) as i32,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the method for candidate #2
|
91 | DatePart::Quarter => |d| Datelike::quarter(&d) as i32,
-->

Can you please revert this update?

@DataBora DataBora added the bug label Feb 26, 2025
@biskwikman
Copy link

I'm also having this issue using DataFusion.

@echou
Copy link

echou commented Feb 27, 2025

chrono 0.4.40 Datelike trait introduces quarter() method that conflicts with ChronoDateExt

@Xuanwo
Copy link
Member

Xuanwo commented Feb 27, 2025

See #7207

@Xuanwo
Copy link
Member

Xuanwo commented Feb 27, 2025

This issue has been fixed by #7198, please waiting for new release instead.

@alamb
Copy link
Contributor

alamb commented Feb 27, 2025

@alamb
Copy link
Contributor

alamb commented Feb 27, 2025

We have released a hotfix fix to crates.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants